wypoon opened a new pull request #3852:
URL: https://github.com/apache/iceberg/pull/3852


   In `SnapshotUtil`, when a snapshot does not have a schema id (written before 
schema id was added to snapshots), we fall back to reading each of the previous 
metadata files until we find one whose current snapshot id matches the snapshot 
id we seek, and read its schema from there.
   
   We introduce a setting for testing purposes that makes the `SnapshotParser` 
write JSON without `schema-id` for snapshots. We add variants of existing tests 
for reading snapshots after schema evolution where the metadata is written 
without `schema-id` in the snapshots. The tests fail without the change in 
`SnapshotUtil`.
   


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