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

[jira] [Updated] (ARROW-4570) [Gandiva] Add overflow checks for decimals

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

Antoine Pitrou updated ARROW-4570:
----------------------------------
    Component/s: C++ - Gandiva

> [Gandiva] Add overflow checks for decimals
> ------------------------------------------
>
>                 Key: ARROW-4570
>                 URL: https://issues.apache.org/jira/browse/ARROW-4570
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++ - Gandiva
>            Reporter: Pindikura Ravindra
>            Assignee: Pindikura Ravindra
>            Priority: Major
>
> For decimals, overflows can occur at two places :
>  # input array can have values that are outside the bound (eg. > 38 digits)
>  # When an operation can result in overflows. eg. add of two decimals of (38, 6) can result in an overflow, if the input numbers are very large.
> In both the above cases, just verifying that an overflow occurred can be a perf overhead. We should do this based on a conf variable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)