[core] [flink] [spark] Preserve blob view references during forwarding#7970
Merged
JingsongLi merged 2 commits intoMay 26, 2026
Merged
Conversation
c406fb8 to
be01fe6
Compare
be01fe6 to
b8d8dd3
Compare
Contributor
Author
|
Thanks for the update. I reviewed the latest patch and the blob-view forwarding path looks good to me. The new The added core/Flink/Spark coverage exercises the important end-to-end forwarding case, and the current CI is green. I do not see remaining blocking issues. |
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.
Purpose
Blob view currently resolves
BlobViewStructto upstream BLOB content on reads. This makes it hard to forward one blob view table into another blob view table while preserving the original upstream reference.This PR adds a dynamic read option to preserve blob view references during such forwarding:
blob-view.resolve.enabled=truekeeps the existing default behavior and resolves blob view fields at read time.blob-view.resolve.enabled=falseskips read-time resolution and returns the originalBlobViewStructas aBlobView, so writing it into anotherblob-view-fieldstores the same upstream reference.Changes
CoreOptions.BLOB_VIEW_RESOLVE_ENABLED.DataEvolutionTableReadskip blob view resolving when this option is disabled.T1blob view rows intoT2while preserving references toT0.Tests
mvn -pl paimon-format -am -DskipTests packagemvn -pl paimon-api,paimon-common,paimon-format -am -DskipTests installmvn -pl paimon-core -Pfast-build -Dtest=BlobTableTest#testForwardBlobViewReference testmvn -pl paimon-core -Pfast-build -DskipTests compilemvn -pl paimon-api,paimon-core spotless:check -DskipTestsgit diff --check