You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zoltan Haindrich (JIRA)" <ji...@apache.org> on 2017/02/22 21:40:44 UTC
[jira] [Resolved] (HIVE-16011) ParseDriver is sensitive to
commented semicolon at end of line
[ 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)