yihua opened a new issue, #1039: URL: https://github.com/apache/incubator-xtable/issues/1039
### 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 🐞 Part of #722. In the Iceberg pluggable table format, a few rollback and timeline cases leave Iceberg out of step with Hudi: - A rollback in a partition whose value holds a space or a percent sign leaves the rolled-back files in Iceberg, since the deleted paths are percent-encoded on the way and no longer match. - A commit whose publish failed before the first snapshot existed becomes expired history once a later write lands that snapshot, so Hudi keeps its rows and Iceberg never sees them. - A clustering whose publish failed is reported as a pending replacecommit, and every later write fails looking for a plan that does not exist. - Rolling back a commit whose snapshot was expired leaves its files referenced and the versions it superseded missing. - A published commit that kept its markers is reported pending once its snapshot is expired, and the next clean rolls it back while Iceberg still references its files. Each should keep Iceberg matching Hudi, or refuse the operation before Hudi changes anything. ### 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]
