adriangb commented on code in PR #16014: URL: https://github.com/apache/datafusion/pull/16014#discussion_r2085375843
########## datafusion/physical-optimizer/src/pruning.rs: ########## @@ -995,6 +996,184 @@ fn build_statistics_record_batch<S: PruningStatistics>( }) } +/// Prune a set of containers represented by their statistics. Review Comment: How about I bundle in the PartitionValues somehow and then we can re-use and compose that? Specifically: - TableProvider's use just the partition values - ParquetOpener combines both - Something else can use just the stats -- 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