andygrove commented on issue #10805:
URL: https://github.com/apache/datafusion/issues/10805#issuecomment-6932895761
arrow-rs now has `ArrowError::ArithmeticOverflow`, and arrow's arithmetic
kernels return it. DataFusion's own overflow paths still don't, though. For
example, `abs` returns `ArrowError::ComputeError("... overflow on abs(...)")`
(`datafusion/functions/src/math/abs.rs`), and there are about 9 `exec_err!`
sites whose message contains "overflow". What's left here is to switch those to
`ArithmeticOverflow` so downstream crates can match on the variant instead of
the message.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]