You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Syed S. Albiz (JIRA)" <ji...@apache.org> on 2011/08/19 10:14:31 UTC

[jira] [Commented] (HIVE-1926) semicolon in comment causes parse error

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

Syed S. Albiz commented on HIVE-1926:
-------------------------------------

I have a fix for this as part of HIVE-1953, patch currently waiting for review. I have tested the fix for both reported error cases and it seems to fix the reported errors.

> semicolon in comment causes parse error
> ---------------------------------------
>
>                 Key: HIVE-1926
>                 URL: https://issues.apache.org/jira/browse/HIVE-1926
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: dan f
>
> semicolons in sql comments cause a parse error when trying to execute the query via hive -f
> As an example, this query runs fine:
>  -- a safe comment
>  select * from table;
> but this query
>  -- an unsafe comment;
>  select * from table;
> results in:
> FAILED: Parse Error: line 0:-1 cannot recognize input '<EOF>'

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira