[ 
https://issues.apache.org/jira/browse/HIVE-7340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish Kumar Singh updated HIVE-7340:
-------------------------------------

    Attachment:     (was: HIVE-7519.1.patch)

> 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)

Reply via email to