Enterprise only
Use ALTER TABLE ... RENAME TO ... on a catalog that supports table renames:
Destination namespace
An unqualified destination inherits the source table’s database and namespace, even when the session uses a different default namespace. For example:analytics.public.archived_orders. Here, public denotes
the root namespace. A qualified destination can select another namespace in the
same database, subject to catalog support and permissions. Moving a table between
databases is rejected.
Catalog restrictions
SQL uses the same authorization and rename operation as REST. Support depends on the deployed server version and catalog:- PostgreSQL-backed catalogs support table renames only in the root namespace.
- Manifest-backed databases support table renames within a namespace and across namespaces in the same database.
- Directory catalogs, including those with directory namespace manifests, reject table renames.
- Federated databases reject table renames.
- The system database is read-only.