You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "David Mollitor (Jira)" <ji...@apache.org> on 2020/04/10 15:06:00 UTC

[jira] [Comment Edited] (HIVE-23171) Create Tool To Visualize Hive Parser Tree

    [ https://issues.apache.org/jira/browse/HIVE-23171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17080505#comment-17080505 ] 

David Mollitor edited comment on HIVE-23171 at 4/10/20, 3:05 PM:
-----------------------------------------------------------------

[~mgergely] Thanks for the review.
 # I removed the version tag from {{antlr-runtime}} artifact because it is inherited from the parent POM. Including it again is just superfluous and is the primary benefit of declaring it in the parent POM. (Even my IDE flags this with a warning)
 # This is the only project that uses this artifact and it's scoped to test. There is no reason to publish this information in the parent POM. The parent POM is used to manage version information across the entire project. Since no other projects are using it, no need to clutter the parent POM or to modify it.


was (Author: belugabehr):
[~mgergely] Thanks for the review.

# I removed the version tag from {{antlr-runtime}} artifact because it is inherited from the parent POM.  Including it again is just superfluous and is the primary benefit of declaring it in the parent POM.
# This is the only project that uses this artifact and it's scoped to test.  There is no reason to publish this information in the parent POM.  The parent POM is used to manage version information across the entire project.  Since no other projects are using it, no need to clutter the parent POM or to modify it.

> Create Tool To Visualize Hive Parser Tree
> -----------------------------------------
>
>                 Key: HIVE-23171
>                 URL: https://issues.apache.org/jira/browse/HIVE-23171
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>         Attachments: HIVE-23171.1.patch, select_1.png
>
>
> For some of the work I would like to do on HIVE-23149, it would be nice to visualize the output of the statement parser.
> I have created a tool that spits out the parser tree in DOT file format. This allows it to be visualized using a plethora of tools.
> I have attached an example of the output that I generated for a {{SELECT 1}} statement:
>  
>  
> !select_1.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)