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

Zoltan Haindrich resolved HIVE-16011.
-------------------------------------
    Resolution: Not A Bug

> 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