docs: [RFC-98] Design doc of DSv2 read support#18276
Open
geserdugarov wants to merge 3 commits intoapache:masterfrom
Open
docs: [RFC-98] Design doc of DSv2 read support#18276geserdugarov wants to merge 3 commits intoapache:masterfrom
geserdugarov wants to merge 3 commits intoapache:masterfrom
Conversation
3 tasks
danny0405
reviewed
Mar 5, 2026
rfc/rfc-98/rfc-98.md
Outdated
| <!-- --> | ||
| The approach is hybrid: DSv2 for reads, DSv1 fallback for writes (`V2TableWithV1Fallback`). | ||
|
|
||
| Overall proposed architecture for this hybrid approach is shown in the following schema: |
Contributor
There was a problem hiding this comment.
any considerations why hybrid mode is here instead of migrating directly into v2?
Contributor
Author
There was a problem hiding this comment.
Clarified it in "Implementation" chapter in 41997c4
danny0405
reviewed
Mar 5, 2026
| </td> | ||
| <td> | ||
| <pre> | ||
| df.write.format("hudi_v2").mode(...).save(path) |
Contributor
There was a problem hiding this comment.
this is not user firiendly to users though, and might bring in more compatibility/migration burdens in the long term.
Contributor
Author
There was a problem hiding this comment.
Agree with you, but I don't see any alternatives. I want to add this to unblock incremental development of these huge changes, and make DSv2 the default and the only way in the end. I've added this in "Future Work" chapter in 41997c4
Contributor
Author
|
@yihua , @vinothchandar , if you don't mind, please, check the approach proposed here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe the issue this Pull Request addresses
Corresponding discussion thread: #13955
Proof of concept is available for this design: #18277
Summary and Changelog
Full design doc for claimed "Spark Datasource V2 Read" support request: #13609
Impact
None. It will be done later. Design doc discussion only at this stage.
Risk Level
None. Change design doc only.
Documentation Update
None. It will be done later. Design doc discussion only at this stage.
Contributor's checklist