hudi icon indicating copy to clipboard operation
hudi copied to clipboard

[HUDI-7146] Integrate secondary index on reader path

Open codope opened this issue 1 year ago • 1 comments

Change Logs

This is stacked on top of #11146. This PR integrates the secondary index on the reader path as follows:

  • Add HoodieTableMetadata#readSecondaryIndex API
  • Add SecondaryIndexSupport, a util class to get candidate files based on query filter and secondary index
  • Changes in HoodieFileIndex to use SecondaryIndexSupport

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

codope avatar May 06 '24 18:05 codope

CI report:

  • b342d8f8e10f77419bf1bd0bc9f626a596ad65f9 UNKNOWN
  • db219f61a2efd1b601ba1ec14f7e2871df5d615d Azure: SUCCESS
Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

hudi-bot avatar Jun 07 '24 06:06 hudi-bot