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

Lars Francke commented on HIVE-7348:
------------------------------------

Copy of my comment from RB:

I'm not sure about this patch.

Something like this will now be completely garbled:

{code}create table ${D_TBL} (d string);select * from ${D_TBL} where d = ";"; 
show tables;{code}

Even something like this won't work anymore:

{code}select * from ${D_TBL} where d = ";"{code}

So I'm afraid I'm on -1 on this patch as it breaks existing behavior. The only 
way to do this properly is to parse the statement fully and split where needed.

> Beeline could not parse ; separated queries provided with -e option
> -------------------------------------------------------------------
>
>                 Key: HIVE-7348
>                 URL: https://issues.apache.org/jira/browse/HIVE-7348
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ashish Kumar Singh
>            Assignee: Ashish Kumar Singh
>         Attachments: HIVE-7348.1.patch, HIVE-7348.2.patch, HIVE-7348.patch
>
>
> Beeline could not parse ; separated queries provided with -e option. This 
> works fine on hive cli.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to