[ https://issues.apache.org/jira/browse/HIVE-4327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashutosh Chauhan updated HIVE-4327: ----------------------------------- Resolution: Fixed Fix Version/s: 0.11.0 Status: Resolved (was: Patch Available) Committed to trunk and 0.11. Thanks, Gunther! > 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