pengzhiwei2018 opened a new pull request #2926: URL: https://github.com/apache/hudi/pull/2926
## What is the purpose of the pull request Support partition pruned for merge on read snapshot query. This issue was exposed by https://github.com/apache/hudi/pull/2283 which read table as spark DataSource table. ## Brief change log - Convert `filters` in `MergeOnReadSnapshotRelation#buildScan` to Catalyst Expression and do the partition prune by `HoodieFileIndex` ## Verify this pull request - Add TestConvertFilterToCatalystExpression to test the convention for filter. - Add TestMORDataSource#testMORPartitionPrune to test partition prune for MOR table. ## Committer checklist - [ ] Has a corresponding JIRA in PR title & commit - [ ] Commit message is descriptive of the change - [ ] CI is green - [ ] Necessary doc changes done or have another open PR - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. -- 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. For queries about this service, please contact Infrastructure at: [email protected]
