AdamGS opened a new pull request, #23863: URL: https://github.com/apache/datafusion/pull/23863
## Which issue does this PR close? - Closes ##23858. ## Rationale for this change Seems like a valuable optimization for sources that report the `sum` statistic. ## What changes are included in this PR? Implements `Sum::value_from_stats`, supporting both raw column expressions and `cast(col)` which are common due to type coercion. ## Are these changes tested? One direct unit test, and a larger integration test in the core crate. ## Are there any user-facing changes? None -- 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]
