You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gunther Hagleitner (JIRA)" <ji...@apache.org> on 2014/11/12 21:40:56 UTC

[jira] [Updated] (HIVE-6683) Beeline does not accept comments at end of line

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

Gunther Hagleitner updated HIVE-6683:
-------------------------------------
    Fix Version/s:     (was: 0.14.0)

> Beeline does not accept comments at end of line
> -----------------------------------------------
>
>                 Key: HIVE-6683
>                 URL: https://issues.apache.org/jira/browse/HIVE-6683
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 0.10.0
>            Reporter: Jeremy Beard
>            Assignee: Sergio Peña
>         Attachments: HIVE-6683.1.patch, HIVE-6683.1.patch
>
>
> Beeline fails to read queries where lines have comments at the end. This works in the embedded Hive CLI.
> Example:
> SELECT
> 1 -- this is a comment about this value
> FROM
> table;
> Error: Error while processing statement: FAILED: ParseException line 1:36 mismatched input '<EOF>' expecting FROM near '1' in from clause (state=42000,code=40000)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)