[
https://issues.apache.org/jira/browse/HIVE-23171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17081516#comment-17081516
]
Hive QA commented on HIVE-23171:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12999583/HIVE-23171.1.patch
{color:red}ERROR:{color} -1 due to no test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 18211 tests
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver[spark_explainuser_1]
(batchId=202)
org.apache.hive.jdbc.TestSSL.testMetastoreWithSSL (batchId=292)
{noformat}
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/21570/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/21570/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-21570/
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 2 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12999583 - PreCommit-HIVE-Build
> 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, 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
(v8.3.4#803005)