Cloud

DROP REDPANDA CATALOG

The DROP REDPANDA CATALOG statement removes a Redpanda catalog connection. You must drop all tables within a catalog before dropping the catalog itself.

Syntax

DROP REDPANDA CATALOG [IF EXISTS] catalog_name;
  • catalog_name: Name of the catalog to remove.

  • IF EXISTS: Optional. Prevents an error if the catalog does not exist.

Examples

First, drop all tables in the catalog:

DROP TABLE production_redpanda=>user_events;
DROP TABLE production_redpanda=>transactions;

Then drop the catalog:

DROP REDPANDA CATALOG production_redpanda;