-
Notifications
You must be signed in to change notification settings - Fork 2.5k
[HUDI-910]Introduce HoodieWriteInput for hudi write client #1665
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
Conversation
|
Hi @yanghua , could you please take a look when free, thanks! |
Codecov Report
@@ Coverage Diff @@
## master #1665 +/- ##
=========================================
Coverage 18.21% 18.21%
Complexity 856 856
=========================================
Files 348 348
Lines 15332 15332
Branches 1523 1523
=========================================
Hits 2792 2792
Misses 12183 12183
Partials 357 357 Continue to review full report at Codecov.
|
hudi-writer-common/src/main/java/org/apache/hudi/format/HoodieWriteInput.java
Outdated
Show resolved
Hide resolved
|
Is there an umbrella task to understand how all the follow up work will be.. on this..For e.g I am wondering what the eventual methods on |
yes, here it is : https://issues.apache.org/jira/browse/HUDI-909
For Spark these could be : The HoodieWriteKey and HoodieWriteOutput are the same as HoodieWriteInput. upsert api could be like this: The content of the method is almost the same as before. For Java and Flink, just replace the |
leesf
left a comment
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.
I am ok with the abstraction and reviewed before in other branch.
|
@vinothchandar just a reminder on this PR. |
|
@wangxianghu @leesf sorry for that delays. I was trying to understand the relation to this work |
|
This pr itself is fine. But given we are adding a new module and this is a critical thing to get right, trying to understand more upfront |
Hi @vinothchandar thanks for your suggestion. Replacing the entire code in hudi-client with new abstractions is a good choose, I'll do it :) |
|
@wangxianghu Thanks for being a sport! That will give us good confidence that we can ultimately pull this off.. Happy to help along as needed.. |
|
|
Hi @vinothchandar , This is the abstration of hudi-client module(not finished yet): |
Ack, look at the branch, the structure looks good to me, @vinothchandar would you please also take a look when you are free, we need land this feature ASAP. |
|
Sg.. Will jump on #1727 . Closing this one |
Tips
What is the purpose of the pull request
This pull request introduce HoodieWriteInput for hudi write client as the unified input format.
Brief change log
Verify this pull request
This pull request is a trivial rework / code cleanup without any test coverage.
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.