xndai opened a new pull request, #17360:
URL: https://github.com/apache/iceberg/pull/17360

   …ring (#17358)
   
   nullableSnapshotIdAsOfTime previously relied on snapshot-log entries being 
in chronological order, returning the last entry with timestamp <= requested. 
The spec does not guarantee ordering, and TableMetadata allows up to 1 minute 
of clock skew between entries. This could return the wrong snapshot when 
entries are out of order.
   
   Fix by finding the entry with the maximum timestamp <= requested timestamp, 
which is correct regardless of iteration order.


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