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

Ashish Kumar Singh updated HIVE-7234:
-------------------------------------

    Attachment:     (was: HIVE-7234.2.patch)

> 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.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)

Reply via email to