thisisnic commented on issue #31820:
URL: https://github.com/apache/arrow/issues/31820#issuecomment-4862747147

   R's behavior on integer overflow is to return `NA` with a warning. 
Replicating that in Arrow would require significant additional machinery since 
the C++ compute kernels only support two modes: error on overflow (checked) or 
silent wraparound (unchecked) — neither matches R's semantics.
   
   A more proportionate fix would be to improve the error message to help users 
understand what happened and how to work around it (e.g. by casting to a wider 
type before the operation).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to