manuzhang opened a new pull request, #1162:
URL: https://github.com/apache/iceberg-cpp/pull/1162

   JSON format versions can silently narrow before validation: `258` and `-254` 
become version 2, and `2.5` becomes 2.
   
   Use strict integer decoding for table metadata and upgrade actions, 
validating metadata versions before storing the `int8_t` value. Builder, 
catalog, and update interfaces remain unchanged.
   
   Extracted from #1070. This fixes existing v1–v3 behavior and can merge 
independently of v4 support.
   
   Validation: all three new regression tests fail with the original pre-v4 
decoder and pass with the fix. Full JSON and REST suites, C++20 compatibility, 
and pre-commit 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to