xudong963 commented on code in PR #15503: URL: https://github.com/apache/datafusion/pull/15503#discussion_r2030716742
########## datafusion/physical-plan/src/coalesce_batches.rs: ########## @@ -195,6 +195,10 @@ impl ExecutionPlan for CoalesceBatchesExec { Statistics::with_fetch(self.input.statistics()?, self.schema(), self.fetch, 0, 1) } + fn statistics_by_partition(&self) -> Result<Vec<Statistics>> { + Ok(vec![self.statistics()?]) + } Review Comment: Good find. I was misled by the `coalesce` : ) -- 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