hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Kumar Singh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7340) Beeline fails to read a query with comments correctly.
Date Fri, 04 Jul 2014 01:01:33 GMT

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

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

    Status: Patch Available  (was: Open)

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

Mime
View raw message