Pindikura Ravindra created ARROW-5964:
-----------------------------------------

             Summary: [C++][Gandiva] Cast double to decimal with rounding 
returns 0
                 Key: ARROW-5964
                 URL: https://issues.apache.org/jira/browse/ARROW-5964
             Project: Apache Arrow
          Issue Type: Bug
            Reporter: Pindikura Ravindra
            Assignee: Pindikura Ravindra


casting 1.15470053838 to decimal(18,0) gives 0. should return 1.

there is a bug in the overflow check after rounding.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to