cshuo opened a new pull request, #12132: URL: https://github.com/apache/hudi/pull/12132
### Change Logs This PR introduces a new partition pruner for Flink source based on the Partition Stats Index. Before this PR, Flink source (batch or streaming) uses partition filters pushed down to build partition pruner and filter irrelevant partitions. Then, Column Stats Index is used to build data pruner to do the file-level data skipping. HUDI-7144 introduced the partition-level column stats, we can use the stats to prune partitions just like the way files are pruned. Main changes: * Add utilities to fetch Partition Stats Index data for Flink source. * Add a new partition pruner `ColumnStatsPartitionPruner`. * Add new config `read.partition.data.skipping.enabled` to enabled partition stats pruner, `false` by default. ### Impact Enhance the data skipping ability for Flink source by introducing a new partition pruner based on Partition Stats Index. ### Risk level (write none, low medium or high below) low ### Documentation Update none ### Contributor's checklist - [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [ ] Change Logs and Impact were stated clearly - [ ] Adequate tests were added if applicable - [ ] CI passed -- 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]
