hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoltan Haindrich (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-16011) ParseDriver is sensitive to commented semicolon at end of line
Date Wed, 22 Feb 2017 21:40:44 GMT

    [ 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)

Mime
View raw message