hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gunther Hagleitner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-4327) NPE in constant folding with decimal
Date Thu, 11 Apr 2013 03:21:16 GMT

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

Gunther Hagleitner commented on HIVE-4327:
------------------------------------------

Actually it's the other way around. I don't have to update the UDAFs. Fixed it now the same
way other types work.
                
> 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
>         Attachments: HIVE-4327.1.q, HIVE-4327.2.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