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/create-catalog.md b/docs/cn/sql-reference/10-sql-commands/00-ddl/09-catalog/create-catalog.md new file mode 100644 index 0000000000..39f2f98179 --- /dev/null +++ b/docs/cn/sql-reference/10-sql-commands/00-ddl/09-catalog/create-catalog.md @@ -0,0 +1,14 @@ +--- +title: CREATE CATALOG +sidebar_position: 1 +--- + +创建一个 catalog。 + +## 语法 + +```sql +CREATE CATALOG [ IF NOT EXISTS ] +TYPE = +CONNECTION = ( = '' [ , ... ] ) +``` 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..cc6884af04 --- /dev/null +++ b/docs/cn/sql-reference/10-sql-commands/00-ddl/09-catalog/index.md @@ -0,0 +1,6 @@ +--- +title: Catalog +--- +| 命令 | 描述 | +|---------|-------------| +| [CREATE CATALOG](create-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..f33e502f89 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/create-catalog.md b/docs/en/sql-reference/10-sql-commands/00-ddl/09-catalog/create-catalog.md new file mode 100644 index 0000000000..5b0b231ef7 --- /dev/null +++ b/docs/en/sql-reference/10-sql-commands/00-ddl/09-catalog/create-catalog.md @@ -0,0 +1,14 @@ +--- +title: CREATE CATALOG +sidebar_position: 1 +--- + +Creates a catalog. + +## Syntax + +```sql +CREATE CATALOG [ IF NOT EXISTS ] +TYPE = +CONNECTION = ( = '' [ , ... ] ) +``` 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..d0f8ba9158 --- /dev/null +++ b/docs/en/sql-reference/10-sql-commands/00-ddl/09-catalog/index.md @@ -0,0 +1,6 @@ +--- +title: Catalog +--- +| Command | Description | +|---------|-------------| +| [CREATE CATALOG](create-catalog.md) | Creates 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..7baec580a3 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)** | Create, drop, and manage 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 |