[ 
https://issues.apache.org/jira/browse/HIVE-16011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15879293#comment-15879293
 ] 

Zoltan Haindrich commented on HIVE-16011:
-----------------------------------------

[~pxiong], I see - well...even thru it's not supported ... it does work - I'll 
close this as not a problem then.

> ParseDriver is sensitive to commented semicolon at end of line
> --------------------------------------------------------------
>
>                 Key: HIVE-16011
>                 URL: https://issues.apache.org/jira/browse/HIVE-16011
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zoltan Haindrich
>            Priority: Minor
>
> executing: 
> {code}
> select 1 + -- semicolon at EOL >> ;
> 1;
> {code}
> results in:
> {code}
> org.apache.hadoop.hive.ql.parse.ParseException: line 3:34 cannot recognize 
> input near '<EOF>' '<EOF>' '<EOF>' in expression specification
>         at 
> org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:207)
> ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to