Skip to main content
VeloDB Cloud 26.x·Apache Doris 4.x (up to 4.0 supported)·"Since X.Y" tags refer to Apache Doris versionsVersion mapping

DROP CATALOG

Description​

This statement is used to delete the external catalog.

Syntax​

DROP CATALOG [IF EXISTS] <catalog_name>;

Required Parameters​

1. <catalog_name> The name of the catalog to be dropped.

Access Control Requirements​

PrivilegeObjectNotes
DROP_PRIVCatalogThe DROP_PRIV permission for the corresponding catalog is required.

Example​

  1. Drop catalog hive

    DROP CATALOG hive;