JingsongLi opened a new pull request, #8482: URL: https://github.com/apache/paimon/pull/8482
## Summary Introduce a versioned binary serializer for non-system table `Split` implementations so split metadata can be exchanged by Java and Rust runtimes through a stable protocol. ## Changes - Add `SplitSerializer` with a `SPLIT_V1` frame, serializer version, and stable type ids for `DataSplit`, `IncrementalSplit`, `IndexedSplit`, `ChainSplit`, `QueryAuthSplit`, and fallback split variants. - Update `QueryAuthSplit` and `FallbackSplitImpl` to use custom serialization paths instead of Java default object serialization. - Add round-trip and golden-file compatibility coverage, including generated golden files for all supported split variants. ## Testing - [x] `mvn -pl paimon-core -Pfast-build -DgenerateSplitGoldenFiles=true -Dtest=SplitSerializerTest,QueryAuthSplitTest -Dmaven.main.skip=true test` - [x] `mvn -pl paimon-core -Pfast-build -Dtest=SplitSerializerTest,QueryAuthSplitTest -Dmaven.main.skip=true test` - [x] `mvn -pl paimon-core spotless:check` - [x] `git diff --check` - [x] JDK 8 `javac` compile for the changed main classes ## Notes `FormatDataSplit` and object table splits are intentionally excluded from this protocol. -- 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]
