fallintoplace opened a new pull request, #1591:
URL: https://github.com/apache/iceberg-go/pull/1591

   ## What changed
   
   Validate `last-updated-ms` against the deserialization sentinel used for an 
absent value. Add coverage for missing, null, and epoch-zero values across 
metadata format versions 1, 2, and 3.
   
   ## Why
   
   The decoder initialized an absent field to `-1`, but validation rejected 
`0`. Missing metadata therefore passed while a present Unix-epoch value was 
reported as missing.
   
   ## Testing
   
   - `go test ./table -run 'Test(LastUpdatedMSPresence|MetadataV[123]Parsing)$' 
-count=1`


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