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β
Privilege | Object | Notes |
---|---|---|
DROP_PRIV | Catalog | The DROP_PRIV permission for the corresponding catalog is required. |
Exampleβ
-
Drop catalog hive
DROP CATALOG hive;