hudi
hudi copied to clipboard
[HUDI-7146] Integrate secondary index on reader path
Change Logs
This is stacked on top of #11146. This PR integrates the secondary index on the reader path as follows:
- Add
HoodieTableMetadata#readSecondaryIndexAPI - Add
SecondaryIndexSupport, a util class to get candidate files based on query filter and secondary index - Changes in
HoodieFileIndexto useSecondaryIndexSupport
Impact
Can use secondary index in queries.
Risk level (write none, low medium or high below)
medium
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none".
- The config description must be updated if new configs are added or the default value of the configs are changed
- Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the ticket number here and follow the instruction to make changes to the website.
Contributor's checklist
- [ ] Read through contributor's guide
- [ ] Change Logs and Impact were stated clearly
- [ ] Adequate tests were added if applicable
- [ ] CI passed
CI report:
- b342d8f8e10f77419bf1bd0bc9f626a596ad65f9 UNKNOWN
- db219f61a2efd1b601ba1ec14f7e2871df5d615d Azure: SUCCESS
Bot commands
@hudi-bot supports the following commands:@hudi-bot run azurere-run the last Azure build