This statement is used to delete the external catalog.
DROP CATALOG [IF EXISTS] <catalog_name>;
1. <catalog_name> The name of the catalog to be dropped.
| Privilege | Object | Notes |
|---|---|---|
| DROP_PRIV | Catalog | The DROP_PRIV permission for the corresponding catalog is required. |
Drop catalog hive
DROP CATALOG hive;