leaves12138 opened a new pull request, #7798:
URL: https://github.com/apache/paimon/pull/7798

   ## What changed
   
   - Added table option `blob-write-null-on-unreadable`, defaulting to `false`.
   - Threaded the option through blob file format creation, dedicated blob 
writers, and external-storage blob writers.
   - Updated `BlobFormatWriter` to attempt `newInputStream()` before writing a 
blob entry; when enabled, unreadable blobs are written as `NULL` and the blob 
consumer receives a null descriptor.
   - Documented the option and added focused format/table coverage.
   
   ## Why
   
   Some blob values may reference data that cannot open a fresh input stream at 
write time. This option lets those values be persisted as `NULL` instead of 
failing the entire write, while preserving the existing fail-fast behavior by 
default.
   
   ## Validation
   
   - `mvn -pl paimon-format -am -Pfast-build -DfailIfNoTests=false 
-Dtest=BlobFileFormatTest test`
   - `mvn -pl paimon-core -am -Pfast-build -DfailIfNoTests=false 
-Dtest=BlobTableTest#testUnreadableExternalStorageBlobWritesNull test`
   - `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]

Reply via email to