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

Wes McKinney resolved ARROW-5964.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.0

Issue resolved by pull request 4894
[https://github.com/apache/arrow/pull/4894]

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