You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2014/09/20 03:09:34 UTC

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

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

Eugene Koifman resolved HIVE-7877.
----------------------------------
    Resolution: Invalid

will solve this as part of HIVE-8152

> 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.3.4#6332)