[ https://issues.apache.org/jira/browse/HIVE-7340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14052120#comment-14052120 ]
Hive QA commented on HIVE-7340: ------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12653735/HIVE-7340.patch {color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 5692 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_dynpart_sort_optimization org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_root_dir_external_table {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/674/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/674/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-Build-674/ Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase 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: 12653735 > Beeline fails to read a query with comments correctly. > ------------------------------------------------------- > > Key: HIVE-7340 > URL: https://issues.apache.org/jira/browse/HIVE-7340 > Project: Hive > Issue Type: Bug > Reporter: Ashish Kumar Singh > Assignee: Ashish Kumar Singh > Attachments: HIVE-7340.patch > > > Comment in the beginning of line works: > 0: jdbc:hive2://localhost:10000> select > . . . . . . . . . . . . . . . .> -- comment > . . . . . . . . . . . . . . . .> * from store > . . . . . . . . . . . . . . . .> limit 1; > but, having comments not in the beginning ignores rest of the query. So, > limit 1 is ignored here. > 0: jdbc:hive2://localhost:10000> select > . . . . . . . . . . . . . . . .> * from store -- comment > . . . . . . . . . . . . . . . .> limit 1; > However, this is fine with Hive CLI. -- This message was sent by Atlassian JIRA (v6.2#6252)