Cloud

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.

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;