hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Mollitor (Jira)" <>
Subject [jira] [Updated] (HIVE-23171) Create Tool To Visualize Hive Parser Tree
Date Sat, 11 Apr 2020 22:06:00 GMT


David Mollitor updated HIVE-23171:
    Attachment: HIVE-23171.1.patch

> Create Tool To Visualize Hive Parser Tree
> -----------------------------------------
>                 Key: HIVE-23171
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>         Attachments: HIVE-23171.1.patch, HIVE-23171.1.patch, 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.
> To use it, compile the \{{hive-parser}} test JAR and run it.  The application takes
a single command line argument of a String.  The String is the SQL statement to parse:
> {code:none}
> HqlParser "SELECT 1"
> {code}
> 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

View raw message