lszskye opened a new pull request, #179:
URL: https://github.com/apache/paimon-cpp/pull/179

   ### Purpose
   Add `source_meta` to `GlobalIndexMeta` and update the commit message version 
from 11 to 12.
   
   Commit message version 11 uses a five-field `GlobalIndexMeta` schema. 
Reading it with the new six-field schema would break compatibility, so this 
change introduces `IndexFileMetaV4Deserializer` to deserialize version 11 
commit messages with the legacy schema. Version 12 uses the current schema 
containing the nullable `_SOURCE_META` field.
   
   ### Tests
   - Added 
`IndexFileMetaSerializerTest.TestToFromRowWithGlobalIndexWithSourceMeta` to 
verify `source_meta` row serialization and deserialization.
   - Updated `CommitMessageTest.TestCompatibleWithVersion11` to verify that 
existing version 11 commit messages remain readable through the legacy 
deserializer.
   - Existing tests continue to cover `GlobalIndexMeta` without `source_meta`.
   
   ### API and Format
   This changes the commit message serialization format, the current commit 
message version is increased from 11 to 12.


-- 
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]

Reply via email to