laskoviymishka opened a new pull request, #2797: URL: https://github.com/apache/iceberg-go/pull/2797
Adds three conformance cases for catalogs with views: creating a view over an existing table, creating a table over an existing view, and (when `SupportsRenameTable` is set) renaming a table onto an existing view. Each checks that the call fails and that the object already there is unchanged. The error can be `ErrTableAlreadyExists` or `ErrViewAlreadyExists`, because SQL and Hive report the object that exists while REST maps the 409 to the sentinel for the call. Ran the suite against SQL in-process, and against the REST fixture and the Hive metastore from `internal/recipe`. All three cases pass on all three. Hadoop and DynamoDB have no views and skip. Renaming a view onto an existing table is left for after the `RenameView` cases land. 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]
