[
https://issues.apache.org/jira/browse/HIVE-16011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15879266#comment-15879266
]
Pengcheng Xiong commented on HIVE-16011:
----------------------------------------
[~kgyrtkirk], comments should begin with "--" at the beginning of the line.
This sounds to me that it is 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)