-
Notifications
You must be signed in to change notification settings - Fork 2.4k
feat: integrate BUCKET_INDEX for HoodieJavaClient #13925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
TODO: Fix tests and add more validations. |
testUpsertsInternal((writeClient, recordRDD, instantTime) -> writeClient.upsertPreppedRecords(recordRDD, instantTime), | ||
true, true, JavaUpgradeDowngradeHelper.getInstance()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add validations on the number of records and buckets after upserts?
return super.getConfigBuilder(schemaStr, HoodieIndex.IndexType.BUCKET) | ||
.withIndexConfig(HoodieIndexConfig.newBuilder() | ||
.withIndexType(HoodieIndex.IndexType.BUCKET) | ||
.withBucketIndexEngineType(HoodieIndex.BucketIndexEngineType.SIMPLE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also have a test on CONSISTENT_HASHING
type?
eddae81
to
9b69b63
Compare
9b69b63
to
597e43a
Compare
@yihua Need help on the following to improve this PR.
|
Describe the issue this Pull Request addresses
Summary and Changelog
Impact
Risk Level
Documentation Update
Contributor's checklist