diff --git a/docs/cn/sql-reference/10-sql-commands/00-ddl/09-catalog/_category_.json b/docs/cn/sql-reference/10-sql-commands/00-ddl/09-catalog/_category_.json new file mode 100644 index 0000000000..0d4bf8663f --- /dev/null +++ b/docs/cn/sql-reference/10-sql-commands/00-ddl/09-catalog/_category_.json @@ -0,0 +1 @@ +{"label":"Catalog","position":9} diff --git a/docs/cn/sql-reference/10-sql-commands/00-ddl/09-catalog/drop-catalog.md b/docs/cn/sql-reference/10-sql-commands/00-ddl/09-catalog/drop-catalog.md new file mode 100644 index 0000000000..ca5cdae738 --- /dev/null +++ b/docs/cn/sql-reference/10-sql-commands/00-ddl/09-catalog/drop-catalog.md @@ -0,0 +1,12 @@ +--- +title: DROP CATALOG +sidebar_position: 1 +--- + +删除一个 catalog。 + +## 语法 + +```sql +DROP CATALOG [ IF EXISTS ] +``` diff --git a/docs/cn/sql-reference/10-sql-commands/00-ddl/09-catalog/index.md b/docs/cn/sql-reference/10-sql-commands/00-ddl/09-catalog/index.md new file mode 100644 index 0000000000..7d627950b4 --- /dev/null +++ b/docs/cn/sql-reference/10-sql-commands/00-ddl/09-catalog/index.md @@ -0,0 +1,6 @@ +--- +title: Catalog +--- +| 命令 | 描述 | +|---------|-------------| +| [DROP CATALOG](drop-catalog.md) | 删除 catalog | diff --git a/docs/cn/sql-reference/10-sql-commands/00-ddl/index.md b/docs/cn/sql-reference/10-sql-commands/00-ddl/index.md index 7fa51bd219..5f6ff2cf52 100644 --- a/docs/cn/sql-reference/10-sql-commands/00-ddl/index.md +++ b/docs/cn/sql-reference/10-sql-commands/00-ddl/index.md @@ -8,6 +8,7 @@ title: DDL(Data Definition Language)命令 | 组件 | 描述 | |-----------|-------------| +| **[Catalog](09-catalog/index.md)** | 删除 catalog | | **[数据库](00-database/index.md)** | 创建、修改和删除数据库 | | **[表](01-table/index.md)** | 创建、修改和管理表 | | **[表版本管理 (Table Versioning)](21-table-versioning/index.md)** | 创建命名快照标签用于时间回溯 | diff --git a/docs/en/sql-reference/10-sql-commands/00-ddl/09-catalog/_category_.json b/docs/en/sql-reference/10-sql-commands/00-ddl/09-catalog/_category_.json new file mode 100644 index 0000000000..0d4bf8663f --- /dev/null +++ b/docs/en/sql-reference/10-sql-commands/00-ddl/09-catalog/_category_.json @@ -0,0 +1 @@ +{"label":"Catalog","position":9} diff --git a/docs/en/sql-reference/10-sql-commands/00-ddl/09-catalog/drop-catalog.md b/docs/en/sql-reference/10-sql-commands/00-ddl/09-catalog/drop-catalog.md new file mode 100644 index 0000000000..34d9f497e2 --- /dev/null +++ b/docs/en/sql-reference/10-sql-commands/00-ddl/09-catalog/drop-catalog.md @@ -0,0 +1,12 @@ +--- +title: DROP CATALOG +sidebar_position: 1 +--- + +Deletes a catalog. + +## Syntax + +```sql +DROP CATALOG [ IF EXISTS ] +``` diff --git a/docs/en/sql-reference/10-sql-commands/00-ddl/09-catalog/index.md b/docs/en/sql-reference/10-sql-commands/00-ddl/09-catalog/index.md new file mode 100644 index 0000000000..2dbee238e6 --- /dev/null +++ b/docs/en/sql-reference/10-sql-commands/00-ddl/09-catalog/index.md @@ -0,0 +1,6 @@ +--- +title: Catalog +--- +| Command | Description | +|---------|-------------| +| [DROP CATALOG](drop-catalog.md) | Drop a catalog | diff --git a/docs/en/sql-reference/10-sql-commands/00-ddl/index.md b/docs/en/sql-reference/10-sql-commands/00-ddl/index.md index 18969db93a..56006bae78 100644 --- a/docs/en/sql-reference/10-sql-commands/00-ddl/index.md +++ b/docs/en/sql-reference/10-sql-commands/00-ddl/index.md @@ -8,6 +8,7 @@ These topics provide reference information for the DDL (Data Definition Language | Component | Description | |-----------|-------------| +| **[Catalog](09-catalog/index.md)** | Drop catalogs | | **[Database](00-database/index.md)** | Create, alter, and drop databases | | **[Table](01-table/index.md)** | Create, alter, and manage tables | | **[Table Versioning](21-table-versioning/index.md)** | Create named snapshot tags for time travel |