samuelcolvin opened a new pull request, #10468: URL: https://github.com/apache/datafusion/pull/10468
## Rationale for this change Maybe I'm missing something or being dumb, but while reading `datafusion::physical_plan::common::compute_record_batch_statistics` I noticed that the `null_count` took the value from the last partition, not the sum of all partition. ## What changes are included in this PR? * fix `compute_record_batch_statistics` * add a test ## Are these changes tested? yes ## Are there any user-facing changes? I don't think so, perhaps some queries are now correct that were previously incorrect. -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org