plusplusjiajia opened a new pull request, #10187: URL: https://github.com/apache/paimon/pull/10187
### Purpose The Iceberg publication rules in `validateTableSchema` also run when a table is loaded, so a table an older release let the mirror publish, such as one with a `TIMESTAMP(9)` column, cannot be loaded at all after upgrading: reads fail, and even the `ALTER` that turns the mirror off, which the error message itself recommends, fails because the catalog loads the table first. Loading now validates the table without its mirror option, so the table can be read and repaired, while persisting a schema, enabling the mirror and every commit still run the rules before a snapshot. The rules came in with #9455 and #9467, which are already on `release-2.1`, so this should be cherry-picked there too. ### Tests `IcebergCompatibilityTest#testExistingTableWithUnpublishableTimestampsStillLoads` -- 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]
