leaves12138 opened a new pull request, #7970: URL: https://github.com/apache/paimon/pull/7970
### Purpose Blob view currently resolves `BlobViewStruct` to 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=true` keeps the existing default behavior and resolves blob view fields at read time. - `blob-view.resolve.enabled=false` skips read-time resolution and returns the original `BlobViewStruct` as a `BlobView`, so writing it into another `blob-view-field` stores the same upstream reference. ### Changes - Add `CoreOptions.BLOB_VIEW_RESOLVE_ENABLED`. - Make `DataEvolutionTableRead` skip blob view resolving when this option is disabled. - Add a test that forwards `T1` blob view rows into `T2` while preserving references to `T0`. - Document the option and the forwarding pattern. ### Tests - `mvn -pl paimon-format -am -DskipTests package` - `mvn -pl paimon-api,paimon-common,paimon-format -am -DskipTests install` - `mvn -pl paimon-core -Pfast-build -Dtest=BlobTableTest#testForwardBlobViewReference test` - `mvn -pl paimon-core -Pfast-build -DskipTests compile` - `mvn -pl paimon-api,paimon-core spotless:check -DskipTests` - `git diff --check` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
