> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# DROP CATALOG

> DROP CATALOG 用于删除指定的 external catalog。

## 功能

删除指定的 external catalog。注意目前不支持删除 internal catalog。一个 集群中只有一个默认的 internal catalog，名为 `default_catalog`。

## 语法

```SQL theme={null}
DROP CATALOG [IF EXISTS] catalog_name
```

## 参数说明

`catalog_name`：external catalog 名称，必选参数。

## 示例

创建名为`hive1`的 Hive catalog。

```SQL theme={null}
CREATE EXTERNAL CATALOG hive1
PROPERTIES(
  "type"="hive", 
  "hive.metastore.uris"="thrift://xx.xx.xx.xx:9083"
);
```

删除`hive1`。

```SQL theme={null}
DROP CATALOG hive1;
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.