You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Iceberg REST catalog is missing dropNamespace, updateNamespaceProperties and renameTable #1846
Three operations the Iceberg REST spec defines are not served by this catalog, even though Unity
Catalog already implements each of them internally. An engine pointed at the Iceberg REST endpoint can
read and write tables but cannot run the matching DDL:
Spec operation
Request
Answered today
Unity Catalog already has
dropNamespace
DELETE /v1/{prefix}/namespaces/{namespace}
405, no route
SchemaRepository.deleteSchema
updateProperties
POST /v1/{prefix}/namespaces/{namespace}/properties
405, no route
schema properties, updated via SchemaService
renameTable
POST /v1/{prefix}/tables/rename
404, no route
TableRepository.renameTable
So DROP NAMESPACE, ALTER NAMESPACE ... SET PROPERTIES and ALTER TABLE ... RENAME TO all fail from
Spark, Trino or any other Iceberg client, with a status that says the path or method does not exist
rather than that the catalog cannot do it. None of the three is advertised in the endpoints list from GET /v1/config either, so a client that reads that list is at least not misled -- it simply has no
way to perform these operations.
To Reproduce
Steps to reproduce the behavior:
Start the server with server.iceberg-table.enabled=true, create a catalog unity and a schema default.
DELETE /api/2.1/unity-catalog/iceberg/v1/catalogs/unity/namespaces/default answers 405 Method Not Allowed.
POST /api/2.1/unity-catalog/iceberg/v1/catalogs/unity/namespaces/default/properties with {"removals": [], "updates": {"a": "b"}} answers 405 Method Not Allowed.
POST /api/2.1/unity-catalog/iceberg/v1/catalogs/unity/tables/rename with a source and destination answers 404 Not Found.
Expected behavior
dropNamespace: 204, 404 for a namespace that is not there, 409 for one that is not empty.
updateProperties: 200 reporting which keys were updated, removed and missing, 404 for a
namespace that is not there, 422 for a key named in both updates and removals.
renameTable: 204, 404 for a table that is not there, 409 for a destination name that is taken.
All three advertised in the config endpoints list.
System [please complete the following information]:
Verified on main at 58d5c7b against a running server. The three are independent, so I am sending a
pull request per operation; this issue stays open until all three land.
All three are also advertised in GET /v1/config. One follow-up fell out of the pair: #1836's assertion that DELETE /namespaces/{namespace} was unrouted became wrong once #1847 routed it, and yili-db fixed that in #1860. Closing.
Activity
[Server] Implement the Iceberg dropNamespace endpoint (#1847)
[Server] Implement the Iceberg renameTable endpoint (#1849)
[Server] Implement the Iceberg updateNamespaceProperties endpoint (#1848
moomindani commentedon Sep 15, 2026
All three are served on
mainnow, each with tests:dropNamespace-- [Server] Implement the Iceberg dropNamespace endpoint #1847updateNamespaceProperties-- [Server] Implement the Iceberg updateNamespaceProperties endpoint #1848renameTable-- [Server] Implement the Iceberg renameTable endpoint #1849All three are also advertised in
GET /v1/config. One follow-up fell out of the pair: #1836's assertion thatDELETE /namespaces/{namespace}was unrouted became wrong once #1847 routed it, and yili-db fixed that in #1860. Closing.