You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Pindikura Ravindra (JIRA)" <ji...@apache.org> on 2019/07/17 07:38:00 UTC
[jira] [Created] (ARROW-5964) [C++][Gandiva] Cast double to decimal
with rounding returns 0
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)