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

Rok Mihevc updated ARROW-4570:
------------------------------
    External issue URL: https://github.com/apache/arrow/issues/21116

> [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
>            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
(v8.20.10#820010)

Reply via email to