hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Kumar Singh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-7234) Select on decimal column throws NPE
Date Wed, 18 Jun 2014 19:18:25 GMT

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

Ashish Kumar Singh commented on HIVE-7234:
------------------------------------------

[~xuefuz], updated description. Let me know if you are still not able to repro it.

> Select on decimal column throws NPE
> -----------------------------------
>
>                 Key: HIVE-7234
>                 URL: https://issues.apache.org/jira/browse/HIVE-7234
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ashish Kumar Singh
>            Assignee: Ashish Kumar Singh
>         Attachments: HIVE-7234.2.patch, HIVE-7234.patch
>
>
> Select on decimal column throws NPE for values greater than maximum permissible value
(9999999999)
> Steps to repro:
> DROP TABLE IF EXISTS DECIMAL;
> CREATE TABLE DECIMAL (dec decimal);
> // Content of decimal_10_0.txt => "9999999999.999"
> LOAD DATA LOCAL INPATH '../../data/files/decimal_10_0.txt' OVERWRITE INTO TABLE DECIMAL;
> SELECT dec FROM DECIMAL; => throws NPE
> DROP TABLE DECIMAL;



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

Mime
View raw message