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

   ## What
   - support serializing both BlobData and BlobRef in BlobSerializer
   - serialize BlobRef as descriptor bytes without materializing blob payload
   - make internal binary blob write/read paths consistently use BlobSerializer
   - reject BlobStream in BlobSerializer because it cannot be safely 
materialized here
   
   ## Why
   BlobSerializer and internal binary writers previously called `blob.toData()` 
unconditionally. For BlobRef this forces loading the full blob payload, which 
defeats the lazy reference semantics and can be prohibitively expensive.
   
   ## Tests
   - mvn -pl paimon-common -Pfast-build -Dtest=BlobSerializerTest,BinaryRowTest 
test


-- 
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