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

László Pintér resolved HIVE-25263.
----------------------------------
    Resolution: Fixed

> CAST operation with decimal resulting to NULL
> ---------------------------------------------
>
>                 Key: HIVE-25263
>                 URL: https://issues.apache.org/jira/browse/HIVE-25263
>             Project: Hive
>          Issue Type: Bug
>            Reporter: László Pintér
>            Assignee: László Pintér
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Some queries using cast to decimal and addition operation result in null 
> values. Ex:
> {code:sql}
> SELECT CAST('123456789123' AS DECIMAL(22,2)) + 1;
> SELECT CAST('99' AS DECIMAL(5,2)) + 8;
>  {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to