adityaksolves commented on issue #18499:
URL: https://github.com/apache/iceberg/issues/18499#issuecomment-6166402438

   Update: I've reproduced this with a unit test in `TestTableMetadataCache` 
(DROP COLUMN → ADD COLUMN with the same name). Before the fix, 
`TableMetadataCache.schema()` resolves to the historical schema with the 
retired field id (the test fails with `expected: 4 but was: 3`). I'm working on 
a fix and will raise a PR shortly once I have tested everything properly.


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