[ https://issues.apache.org/jira/browse/HIVE-6683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14025751#comment-14025751 ]
Nicolas ThiƩbaud commented on HIVE-6683: ---------------------------------------- I am also affected by this. It would be nice it it were fixed server side so clients do not have to implement comment parsing. It would also make reusing queries across beeline / hue / jdbc much easier > Beeline does not accept comments at end of line > ----------------------------------------------- > > Key: HIVE-6683 > URL: https://issues.apache.org/jira/browse/HIVE-6683 > Project: Hive > Issue Type: Bug > Components: CLI > Affects Versions: 0.10.0 > Reporter: Jeremy Beard > > Beeline fails to read queries where lines have comments at the end. This > works in the embedded Hive CLI. > Example: > SELECT > 1 -- this is a comment about this value > FROM > table; > Error: Error while processing statement: FAILED: ParseException line 1:36 > mismatched input '<EOF>' expecting FROM near '1' in from clause > (state=42000,code=40000) -- This message was sent by Atlassian JIRA (v6.2#6252)