pvary commented on PR #18517:
URL: https://github.com/apache/iceberg/pull/18517#issuecomment-6219204747

   Here are the use-cases I seee:
   - When writing the old field is useful: the column is dropped and not 
re-added. Late records with the old shape still match the older schema, which 
testOptInDropUnusedColumns relies on. The filter keeps this, because it only 
skips a historical schema when a dropped field's name is in use again under a 
new id.
   - When the name is live again: writing the retired id is never readable 
through the current schema. The column exists and the record has a value, but 
readers see null.
   
   So I think we can safely omit schemas where the field is readded with the 
same name.
   
   Do you see any use-cases which I miss?


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