[
https://issues.apache.org/jira/browse/HIVE-25263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17377941#comment-17377941
]
László Pintér commented on HIVE-25263:
--------------------------------------
Merged into master. Thanks, [~kuczoram] and [~Marton Bod] for the review!
> 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)