You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/07/17 07:45:00 UTC

[jira] [Updated] (ARROW-5964) [C++][Gandiva] Cast double to decimal with rounding returns 0

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

ASF GitHub Bot updated ARROW-5964:
----------------------------------
    Labels: pull-request-available  (was: )

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