[ https://issues.apache.org/jira/browse/HIVE-7340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055643#comment-14055643 ]
Ashish Kumar Singh commented on HIVE-7340: ------------------------------------------ [~navis] this is similar to the one you reviewed recently. Do you mind taking a look? > 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)