yihua opened a new issue, #1049: URL: https://github.com/apache/incubator-xtable/issues/1049
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/incubator-xtable/issues?q=is%3Aissue) and found no similar issues. ### Please describe the bug 🐞 `IcebergSchemaSync` collects its updates in a map keyed by field id and puts every dropped column under key 0, so that drops run first. When one sync removes several columns, each drop replaces the previous one, so only one column is dropped and the rest stay in the Iceberg schema until later syncs. Each drop should keep its own entry, for example keyed by the negative field id of its column. ### Are you willing to submit PR? - [x] I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
