You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Yibing Shi (JIRA)" <ji...@apache.org> on 2017/07/26 22:31:01 UTC

[jira] [Comment Edited] (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=16102389#comment-16102389 ] 

Yibing Shi edited comment on HIVE-17050 at 7/26/17 10:30 PM:
-------------------------------------------------------------

Hi [~pvary], I was in a rush and accidentally changed the pom.xml. Sorry for the mess!
Resubmit the patch.


was (Author: yibing):
Hi [~pvary], I was in a rush and accidentally changed the pom.xml. Sorry for the mess!
Resutmit the patch.

> 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, HIVE-17050.3.PATCH, HIVE-17050.4.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)