laskoviymishka opened a new pull request, #2691: URL: https://github.com/apache/iceberg-go/pull/2691
The conformance suite never called `RegisterTable` or `PurgeTable`. This adds five cases in a new `catalog/catalogtest/register_purge.go`, following Java's `CatalogTests`: drop a table without purge and register its metadata file again, register over an existing table (`ErrTableAlreadyExists`), register into a missing namespace (`ErrNoSuchNamespace`), purge a table and check it is gone (`ErrNoSuchTable`), and purge a missing table (`ErrNoSuchTable`). The register cases look up `catalog.RegisterableCatalog` with `catalog.As` and skip when it is absent, so no new `Config` flag is needed. Ran the suite locally against SQL and Hadoop (register cases skip, purge cases pass) and against the REST fixture, Hive metastore and DynamoDB local from the docker recipe, where all five pass. No catalog diverged. Glue implements `RegisterTable` but is not wired into the suite, so it is not covered here. Part of #1691. > AI-assisted, reviewed by a human. -- 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]
