László Pintér created HIVE-25263:
------------------------------------

             Summary: 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


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