apache / hudi

Upserts, Deletes And Incremental Processing on Big Data.
https://hudi.apache.org/
Apache License 2.0
5.46k stars 2.43k forks source link

[HUDI-8428] Encode pruned partitions while fetching functional index #12157

Closed codope closed 2 weeks ago

codope commented 1 month ago

Change Logs

Pruned partition filters were not being used while doing prefix lookup for functional index records. This PR fixes that and also adds a minor optimization for getting pruned partitions and file names in a single iteration in SparkBaseIndexSupport. Added a test to validate the partition filter being used.

Impact

Optimization for functional index reads.

Risk level (write none, low medium or high below)

low

Documentation Update

Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none".

Contributor's checklist

hudi-bot commented 2 weeks ago

CI report:

Bot commands @hudi-bot supports the following commands: - `@hudi-bot run azure` re-run the last Azure build