JingsongLi opened a new pull request, #9004: URL: https://github.com/apache/paimon/pull/9004
## Purpose Keep index manifests written by the current Paimon version readable by older Paimon releases. ## Changes - Keep `IndexManifestEntrySerializer` at version 1 instead of writing version 2. - Read `sourceMeta` as an optional schema field while preserving the legacy five-field global-index schema. - Add a regression test that reads a newly written index manifest with the legacy schema. ## Root cause The serializer version is persisted in every index manifest entry. Older Paimon versions only accept version 1, so entries written with version 2 are rejected before schema evolution can handle the optional field. ## Tests - `mvn -pl paimon-core -DwildcardSuites=none -Dtest=IndexManifestEntrySerializerTest,IndexManifestFileHandlerTest test` - 13 tests passed; checkstyle, spotless, and enforcer passed. -- 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]
