You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2017/07/06 11:46:00 UTC

[jira] [Commented] (HIVE-17050) Multiline queries that have comment in middle fail when executed via "beeline -e"

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

Hive QA commented on HIVE-17050:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12875902/HIVE-17050.1.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), 10832 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestBeeLineDriver.testCliDriver[insert_overwrite_local_directory_1] (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/5908/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/5908/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-5908/

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: 12875902 - 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
>
>
> 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.com@YSHI.COM;ssl=true;sslTrustStore=/certs/hive/hive-keystore.jks;trustStorePassword=cloudera
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)