You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "QuakeWang (via GitHub)" <gi...@apache.org> on 2026/07/04 16:09:05 UTC
[PR] [python][daft] Validate BLOB descriptor parsing [paimon]
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [python][daft] Validate BLOB descriptor parsing [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #8462:
URL: https://github.com/apache/paimon/pull/8462
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [python][daft] Validate BLOB descriptor parsing [paimon]
Posted by "XiaoHongbo-Hope (via GitHub)" <gi...@apache.org>.
XiaoHongbo-Hope commented on PR #8462:
URL: https://github.com/apache/paimon/pull/8462#issuecomment-4885144844
+1
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org