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] [Resolved] (HIVE-1926) semicolon in comment causes parse error

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

Syed S. Albiz resolved HIVE-1926.
---------------------------------

    Resolution: Duplicate

HIVE-1953

> 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