Skip to content

Conversation

@manojpec
Copy link
Contributor

@manojpec manojpec commented Feb 3, 2022

What is the purpose of the pull request

  • Write stats are converted to metadata index records during the commit.
    Making them use the HoodieData type so that the record
    generation scales up with needs.

  • When building the BloomFilter from the index records, using the type param
    stored in the payload instead of hardcoded type.

PS: This is staked on top of #4352

Brief change log

Commit to review b7079f6

Verify this pull request

(Please pick either of the following options)

This pull request is a trivial rework / code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end.
  • Added HoodieClientWriteTest to verify the change.
  • Manually verified the change by running a job locally.

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.

@manojpec manojpec changed the title [HUDI-3356][HUDI-3203] HoodieData for metadata index records; BloomFilter construction from index based on the type param [HUDI-1295][HUDI-3356][HUDI-3203] HoodieData for metadata index records; BloomFilter construction from index based on the type param Feb 3, 2022
@codope codope self-assigned this Feb 3, 2022
…lter construction from index based on the type param

 - Write stats are converted to metadata index records during the commit.
   Making them use the HoodieData<HoodieRecord> type so that the record
   generation scales up with needs.

 - When building the BloomFilter from the index records, using the type param
   stored in the payload instead of hardcoded type.
@manojpec manojpec force-pushed the feature/HUDI-3356-bloom-filter-hoodiedata-from-commit-metadata branch from b7079f6 to a346c32 Compare February 3, 2022 18:25
@manojpec manojpec changed the title [HUDI-1295][HUDI-3356][HUDI-3203] HoodieData for metadata index records; BloomFilter construction from index based on the type param [HUDI-3356][HUDI-3203] HoodieData for metadata index records; BloomFilter construction from index based on the type param Feb 3, 2022
@hudi-bot
Copy link
Collaborator

hudi-bot commented Feb 3, 2022

CI report:

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

Copy link
Member

@codope codope left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Took one pass and left a few minor comments. May I know which tests exercise the MT bloom index path? Do we have UTs for the util methods?

@codope
Copy link
Member

codope commented Feb 18, 2022

Covered in #4848

@codope codope closed this Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants