dannycjones commented on PR #2127:
URL: https://github.com/apache/iceberg-rust/pull/2127#issuecomment-4255212581

   What would happen to get into this state? If you have performed a table 
upgrade from V1 to V2, would the query engine / operation not replace the 
metadata.json with a V2 format metadata.json which should have set the sequence 
numbers to 0 anyway? Can you share with what query engine you performed the 
upgraded table format and how?
   
   I found this in the spec 
(https://iceberg.apache.org/spec/#writer-requirements): "Readers may be more 
strict for metadata JSON files because the JSON files are not reused and will 
always match the table version. Required fields that were not present in or 
were optional in prior versions may be handled as required fields. For example, 
a v2 table that is missing last-sequence-number can throw an exception.".
   
   (Apologies if I'm missing something, I'm pretty new to the Iceberg space at 
the moment.)


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