Tpt opened a new issue, #17928: URL: https://github.com/apache/datafusion/issues/17928
### Describe the bug In 32bits platforms, `Precision::<usize>::multiply` can quickly overflow, leading to a panic on debug builds. ### To Reproduce ```rust Precision::<u32>::Exact(u32::MAX).multiply(&Precision::Exact(2)) ``` ### Expected behavior The operation should saturate and `Exact` estimation should become `Inexact` ### Additional context _No response_ -- 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]
