You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2014/08/26 02:39:58 UTC

[jira] [Created] (HIVE-7877) Inserting negative values causes a parse exception

Alan Gates created HIVE-7877:
--------------------------------

             Summary: Inserting negative values causes a parse exception
                 Key: HIVE-7877
                 URL: https://issues.apache.org/jira/browse/HIVE-7877
             Project: Hive
          Issue Type: Bug
          Components: SQL
    Affects Versions: 0.14.0
            Reporter: Alan Gates
            Assignee: Eugene Koifman


Inserting constants with negative values causes a ParseException.  For example:
{code}
create table foo(int a) clustered by (a) into 2 buckets stored as orc;
insert into table foo value (-257);
{code}
results in
{code}
FAILED: ParseException line 4:8 cannot recognize input near '-' '257' ',' in statement
{code}




--
This message was sent by Atlassian JIRA
(v6.2#6252)