DROP ICEBERG CATALOG
The DROP ICEBERG CATALOG statement removes an Iceberg catalog connection.
You can’t drop an Iceberg catalog while a Redpanda catalog is linked to it through USING CATALOG. To drop the Iceberg catalog, first detach or drop the linked Redpanda catalog.
|
In Redpanda Cloud, the storage connection and Iceberg catalog used to query Iceberg-enabled topics are configured and managed automatically when you enable Redpanda SQL on a cluster that has an Iceberg REST catalog configured. You don’t run these statements yourself for that workflow. This page documents the statement’s syntax and options so you can understand what Redpanda Cloud configures. See Query Iceberg-enabled topics. |
Syntax
DROP ICEBERG CATALOG [IF EXISTS] catalog_name;
-
catalog_name: Name of the Iceberg catalog to remove. -
IF EXISTS: Optional. Prevents an error if the Iceberg catalog does not exist.
Examples
Drop an Iceberg catalog:
DROP ICEBERG CATALOG lakehouse_catalog;
Drop the catalog only if it exists:
DROP ICEBERG CATALOG IF EXISTS lakehouse_catalog;