hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-4327) NPE in constant folding with decimal
Date Tue, 16 Apr 2013 17:41:19 GMT

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

Hudson commented on HIVE-4327:
------------------------------

Integrated in Hive-trunk-hadoop2 #162 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/162/])
    HIVE-4327 : NPE in constant folding with decimal (Gunther Hagleitner via Ashutosh Chauhan)
(Revision 1468423)

     Result = FAILURE
hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1468423
Files : 
* /hive/trunk/ql/src/test/queries/clientnegative/decimal_precision.q
* /hive/trunk/ql/src/test/queries/clientnegative/decimal_precision_1.q
* /hive/trunk/ql/src/test/queries/clientpositive/decimal_precision.q
* /hive/trunk/ql/src/test/queries/clientpositive/decimal_udf.q
* /hive/trunk/ql/src/test/results/clientnegative/decimal_precision.q.out
* /hive/trunk/ql/src/test/results/clientnegative/decimal_precision_1.q.out
* /hive/trunk/ql/src/test/results/clientpositive/decimal_precision.q.out
* /hive/trunk/ql/src/test/results/clientpositive/decimal_udf.q.out
* /hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/primitive/PrimitiveObjectInspectorConverter.java
* /hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/primitive/PrimitiveObjectInspectorUtils.java

                
> NPE in constant folding with decimal
> ------------------------------------
>
>                 Key: HIVE-4327
>                 URL: https://issues.apache.org/jira/browse/HIVE-4327
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Gunther Hagleitner
>            Assignee: Gunther Hagleitner
>            Priority: Minor
>             Fix For: 0.11.0
>
>         Attachments: HIVE-4327.1.q, HIVE-4327.2.patch, HIVE-4327.3.patch
>
>
> The query:
> SELECT dec * cast('123456789012345678901234567890.1234567' as decimal) FROM DECIMAL_PRECISION
LIMIT 1
> fails with an NPE while constant folding. This only happens when the decimal is out of
range of max precision.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message