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] [Created] (HIVE-7340) Beeline fails to read a query with comments correctly.
Date Wed, 02 Jul 2014 21:59:26 GMT
Ashish Kumar Singh created HIVE-7340:
----------------------------------------

             Summary: 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


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