xudong963 opened a new issue, #15614: URL: https://github.com/apache/datafusion/issues/15614
Wrapping the Statistics with `Arc<>'`s can be a solution? Some structs like `FileGroup`, `PartitionedData` etc. caches the Statistics. So, if the source operators can access those, they should return over them. However, for other intermediate operators, perhaps we can utilize `PlanProperties`? The Statistics will be initiated once and cached like other planning properties _Originally posted by @berkaysynnada in https://github.com/apache/datafusion/pull/15503#discussion_r2030231992_ -- 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.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