hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From László Pintér (Jira) <j...@apache.org>
Subject [jira] [Commented] (HIVE-25263) CAST operation with decimal resulting to NULL
Date Fri, 09 Jul 2021 08:49:00 GMT

    [ 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)

Mime
View raw message