Tpt opened a new pull request, #17929: URL: https://github.com/apache/datafusion/pull/17929
Use saturating operations, if the operation saturates, `Exact` is changed to `Inexact` Note this is not consistent with `Precision::<ScalarValue>` that wraps, happy to change behavior to wrapping here too if considered more relevant (but for cardinality estimations, saturation seems to make more sense to me). ## Which issue does this PR close? - Close #17928. ## Rationale for this change Avoid panics on large number of joins in debug mode that explode estimated cardinalities. -- 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]
