You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "shyjsarah (via GitHub)" <gi...@apache.org> on 2026/08/24 03:05:23 UTC
[I] Align ManifestEntry Avro field order with Java Paimon [paimon-rust]
shyjsarah opened a new issue, #741:
URL: https://github.com/apache/paimon-rust/issues/741
### Description
`MANIFEST_ENTRY_SCHEMA` currently writes the top-level ManifestEntry fields in this order:
```text
_KIND, _PARTITION, _BUCKET, _TOTAL_BUCKETS, _FILE, _VERSION
```
Java Paimon's `VersionedObjectSerializer` prepends `_VERSION`, and its manifest reader expects the canonical order:
```text
_VERSION, _KIND, _PARTITION, _BUCKET, _TOTAL_BUCKETS, _FILE
```
As a result, a manifest written by Paimon Rust can fail when read by Java Paimon with an error like:
```text
Unexpected Manifest Avro field at position 0: expected _VERSION but found _KIND
```
### Proposed fix
- Move `_VERSION` to the first field in `ManifestEntry` and `MANIFEST_ENTRY_SCHEMA`.
- Add a regression test for the Java-compatible field order.
- Verify that the Rust reader still reads manifests written with the previous Rust field order. The current Rust decoder dispatches fields by the writer-schema field name, so old files should remain readable.
### Impact
This affects Java/Rust interoperability for tables whose manifests are written by Paimon Rust and later read by Java Paimon.
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Align ManifestEntry Avro field order with Java Paimon [paimon-rust]
Posted by "jerry-024 (via GitHub)" <gi...@apache.org>.
jerry-024 closed issue #741: Align ManifestEntry Avro field order with Java Paimon
URL: https://github.com/apache/paimon-rust/issues/741
--
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