[ https://issues.apache.org/jira/browse/HIVE-17050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16077450#comment-16077450 ]
Hive QA commented on HIVE-17050: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12876005/HIVE-17050.2.patch {color:green}SUCCESS:{color} 1 due to 2 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 8 failed/errored test(s), 10834 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestBeeLineDriver.testCliDriver[materialized_view_create_rewrite] (batchId=237) org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[llap_smb] (batchId=143) org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[orc_ppd_basic] (batchId=140) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[columnstats_part_coltype] (batchId=157) org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query14] (batchId=232) org.apache.hive.hcatalog.api.TestHCatClient.testPartitionRegistrationWithCustomSchema (batchId=177) org.apache.hive.hcatalog.api.TestHCatClient.testPartitionSpecRegistrationWithCustomSchema (batchId=177) org.apache.hive.hcatalog.api.TestHCatClient.testTableSchemaPropagation (batchId=177) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/5913/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/5913/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-5913/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase 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: 8 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12876005 - PreCommit-HIVE-Build > Multiline queries that have comment in middle fail when executed via "beeline > -e" > --------------------------------------------------------------------------------- > > Key: HIVE-17050 > URL: https://issues.apache.org/jira/browse/HIVE-17050 > Project: Hive > Issue Type: Bug > Reporter: Yibing Shi > Assignee: Yibing Shi > Attachments: HIVE-17050.1.patch, HIVE-17050.2.patch > > > After applying HIVE-13864, multiple line queries that have comment at the end > of one of the middle lines fail when executed via beeline -e > {noformat} > $ beeline -u "<jdbc-url>" -e "select 1, --test > > 2" > scan complete in 3ms > ...... > Transaction isolation: TRANSACTION_REPEATABLE_READ > Error: Error while compiling statement: FAILED: ParseException line 1:9 > cannot recognize input near '<EOF>' '<EOF>' '<EOF>' in selection target > (state=42000,code=40000) > Closing: 0: > jdbc:hive2://host-10-17-80-194.coe.cloudera.com:10000/default;principal=hive/host-10-17-80-194.coe.cloudera....@yshi.com;ssl=true;sslTrustStore=/certs/hive/hive-keystore.jks;trustStorePassword=cloudera > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)