JingsongLi opened a new pull request, #1527: URL: https://github.com/apache/paimon-rust/pull/1527
### Purpose A version 1 BLOB descriptor decodes successfully, but reserializing it writes a version 1 marker followed by the version 2 magic header. The Avro writer takes this path when it receives a legacy descriptor, producing an unreadable value. See apache/paimon#9539 for the matching Python and Java wire behavior. ### Brief change log Write the current version marker whenever serializing a BLOB descriptor. Continue accepting version 1 on decode. ### Tests The new legacy round-trip test reproduced the decode error on the baseline. All 27 BLOB descriptor and Avro writer unit tests passed with the fix. Formatting and diff checks passed. ### API and Format Emits the existing version 2 wire format for decoded version 1 descriptors. Both wire versions remain readable. -- 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]
