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

Wes McKinney updated ARROW-5964:
--------------------------------
    Component/s: C++ - Gandiva

> [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
>          Components: C++ - Gandiva
>            Reporter: Pindikura Ravindra
>            Assignee: Pindikura Ravindra
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.0.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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