Skip to content

Commit 75281dc

Browse files
github-actions[bot]soyeric128
authored andcommitted
💬Generate LLM translations
1 parent 0388ed8 commit 75281dc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/cn/sql-reference/10-sql-commands/00-ddl/01-table/10-ddl-create-table-external-location.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar_position: 2
55

66
`CREATE TABLE ... CONNECTION = (...)` 语句创建一个表,并指定一个兼容 S3 的存储桶用于数据存储,而不是使用默认的本地存储。
77

8-
然后,fuse 表引擎表将存储在指定的兼容 S3 的存储桶中。
8+
然后,fuse 表引擎的表将存储在指定的兼容 S3 的存储桶中。
99

1010
## 好处
1111

@@ -20,7 +20,7 @@ CREATE TABLE [IF NOT EXISTS] [db.]table_name (
2020
<column_name> <data_type> [NOT NULL | NULL] [{ DEFAULT <expr> }],
2121
...
2222
)
23-
LOCATION = 's3://<bucket>/[<path>]'
23+
's3://<bucket>/[<path>]'
2424
CONNECTION = (
2525
ENDPOINT_URL = 'https://<endpoint-URL>'
2626
ACCESS_KEY_ID = '<your-access-key-ID>'
@@ -36,10 +36,10 @@ CONNECTION = (
3636

3737
连接参数:
3838

39-
| 参数 | 描述 | 必需 |
39+
| 参数 | 描述 | 是否必需 |
4040
|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------|
41-
| `s3://<bucket>/[<path>]` | 文件位于指定的外部位置(类似 S3 的存储桶) | |
42-
| ENDPOINT_URL | 存储桶端点 URL,以 "https://" 开头。要使用以 "http://" 开头的 URL,请在 `databend-query-node.toml` 文件的 [storage] 块中将 `allow_insecure` 设置为 `true`| 可选 |
41+
| `s3://<bucket>/[<path>]` | 文件位于指定的外部位置(类似 S3 的存储桶) ||
42+
| ENDPOINT_URL | 存储桶的端点 URL,以 "https://" 开头。要使用以 "http://" 开头的 URL,请在 `databend-query-node.toml` 文件的 [storage] 块中将 `allow_insecure` 设置为 `true`| 可选 |
4343
| ACCESS_KEY_ID | 用于连接 AWS S3 兼容对象存储的访问密钥 ID。如果未提供,Databend 将以匿名方式访问存储桶。 | 可选 |
4444
| SECRET_ACCESS_KEY | 用于连接 AWS S3 兼容对象存储的秘密访问密钥。 | 可选 |
4545
| REGION | AWS 区域名称。例如,us-east-1。 | 可选 |
@@ -60,7 +60,7 @@ CONNECTION = (
6060
**可写访问:**
6161
- `s3:PutObject`:允许将对象写入存储桶。
6262
- `s3:DeleteObject`:允许从存储桶中删除对象。
63-
- `s3:AbortMultipartUpload`允许中止多部分上传
63+
- `s3:AbortMultipartUpload`允许中止分段上传
6464
- `s3:DeleteObjectVersion`:允许删除对象的特定版本。
6565
:::
6666

@@ -106,7 +106,7 @@ LOCATION = 's3 | bucket=testbucket,root=/admin/data/,endpoint=https://s3.amazona
106106

107107
或者,您可以创建一个连接并使用它来创建表:
108108
```sql
109-
-- 为 S3 凭据创建一个名为 `s3_connection` 的连接
109+
-- 创建一个名为 `s3_connection` 的连接,用于 S3 凭据
110110
CREATE CONNECTION s3_connection
111111
STORAGE_TYPE = 's3'
112112
SECRET_ACCESS_KEY = '<your-secret-access-key>'

0 commit comments

Comments
 (0)