QuakeWang opened a new pull request, #8462:
URL: https://github.com/apache/paimon/pull/8462
### Purpose
Daft BLOB File conversion parsed serialized BlobDescriptor bytes manually.
That bypassed the shared descriptor validation, so malformed bytes could leak
low-level parsing errors, and descriptors with unsupported versions or invalid
magic could be accepted.
This PR reuses `BlobDescriptor.deserialize` in the Daft conversion path and
adds regression coverage for malformed descriptors while preserving normal
descriptor-to-File conversion behavior.
### Tests
- `python -m pytest paimon-python/pypaimon/tests/daft/daft_blob_test.py -q`
- `python -m pytest
paimon-python/pypaimon/tests/daft/daft_blob_read_test.py -q`
--
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]