Skip to content

Commit 181916b

Browse files
💬Generate LLM translations (#973)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Quan <[email protected]>
1 parent ee71699 commit 181916b

File tree

7 files changed

+129
-109
lines changed

7 files changed

+129
-109
lines changed

docs/cn/guides/00-overview/00-editions/01-dee/10-enterprise-features.md

Lines changed: 84 additions & 84 deletions
Large diffs are not rendered by default.

docs/cn/guides/00-overview/index.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ slug: /
77

88
## 术语表
99

10-
- **`Databend`** 指的是 [开源版本](https://github.com/datafuselabs/databend)
11-
- **`Databend Cloud`** 是一项完全 [托管的云服务](https://databend.com)
12-
- **`Databend(Cloud)`** 共同表示 `Databend``Databend Cloud`
10+
- **`Databend`** [开源版本](https://github.com/datafuselabs/databend)
11+
- **`Databend Cloud`** 是一个完全 [托管的云服务](https://databend.com)
12+
- **`Databend(Cloud)`** 统指 `Databend``Databend Cloud`
1313

1414
## 入门指南
1515

16-
- **[自托管 Databend](../10-deploy/index.md)**关于部署、升级和监控自托管 Databend 的指南。
17-
- **[Databend Cloud](../20-cloud/index.md)**快速开始使用 Databend Cloud。
18-
- **[连接](../30-sql-clients/index.md)**使用各种驱动程序连接到 Databend(Cloud)。
19-
- **[数据加载](../40-load-data/index.md)**以多种格式批量导入数据到 Databend(Cloud)。
20-
- **[数据卸载](../50-unload-data/index.md)**从 Databend(Cloud) 导出数据。
21-
- **[实时 CDC 摄取](../40-load-data/05-continuous-data-pipelines/01-stream.md)**变更数据捕获CDC实现实时数据摄取。
22-
- **[自动化数据管道](../40-load-data/05-continuous-data-pipelines/02-task.md)**创建任务以自动化和管理持续数据管道。
23-
- **[外部函数](../54-query/04-external-function.md)**使用外部函数扩展 Databend 的功能。
24-
- **[数据管理](../57-data-management/index.md)**管理 Databend(Cloud) 中的数据。
25-
- **[安全性](../56-security/index.md)**Databend(Cloud) 中的安全特性。
26-
- **[可视化](../31-visualize/index.md)**使用可视化工具与 Databend(Cloud) 结合
27-
- **[基准测试](../80-benchmark/index.md)**在 TPC-H SF100 基准测试中比较 Databend Cloud 与 Snowflake 的性能。
16+
- **[自托管 Databend](../10-deploy/index.md)**: 关于部署、升级和监控自托管 Databend 的指南。
17+
- **[Databend Cloud](../20-cloud/index.md)**: 快速开始使用 Databend Cloud。
18+
- **[连接](../30-sql-clients/index.md)**: 使用各种驱动程序连接到 Databend(Cloud)。
19+
- **[数据加载](../40-load-data/index.md)**: 以多种格式批量导入数据到 Databend(Cloud)。
20+
- **[数据卸载](../50-unload-data/index.md)**: 从 Databend(Cloud) 导出数据。
21+
- **[实时 CDC 摄取](../40-load-data/05-continuous-data-pipelines/01-stream.md)**: 变更数据捕获 (CDC) 实现实时数据摄取。
22+
- **[自动化数据管道](../40-load-data/05-continuous-data-pipelines/02-task.md)**: 创建任务以自动化和管理持续数据管道。
23+
- **[外部函数](../54-query/04-external-function.md)**: 使用外部函数扩展 Databend 的功能。
24+
- **[数据管理](../57-data-management/index.md)**: 管理 Databend(Cloud) 中的数据。
25+
- **[安全性](../56-security/index.md)**: Databend(Cloud) 中的安全特性。
26+
- **[可视化](../31-visualize/index.md)**: 使用可视化工具与 Databend(Cloud) 配合
27+
- **[基准测试](../80-benchmark/index.md)**: 在 TPC-H SF100 基准测试中比较 Databend Cloud 与 Snowflake 的性能。

docs/cn/guides/57-data-management/04-data-recycle.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ sidebar_label: 数据回收
66
在 Databend 中,当你执行 `DROP``TRUNCATE``DELETE` 命令时,数据并未真正删除,允许时间旅行回到之前的状态。
77

88
数据分为两种类型:
9+
910
- **历史数据**:用于时间旅行,存储历史数据或已删除表的数据。
1011
- **临时数据**:系统用于存储溢出数据。
1112

12-
如果数据量较大,你可以运行几个命令([企业版功能](/guides/overview/editions/dee/enterprise-features)来删除这些数据并释放存储空间
13+
如果数据量较大,你可以运行几个命令([企业版功能](/guides/overview/editions/dee/enterprise-features)来删除这些数据,释放存储空间
1314

1415
## 清理已删除表的数据
1516

@@ -19,7 +20,7 @@ sidebar_label: 数据回收
1920
VACUUM DROP TABLE;
2021
```
2122

22-
更多信息请参见 [VACUUM DROP TABLE](/sql/sql-commands/administration-cmds/vacuum-drop-table)
23+
了解更多 [VACUUM DROP TABLE](/sql/sql-commands/administration-cmds/vacuum-drop-table)
2324

2425
## 清理表的历史数据
2526

@@ -29,7 +30,7 @@ VACUUM DROP TABLE;
2930
VACUUM TABLE <table_name>;
3031
```
3132

32-
更多信息请参见 [VACUUM TABLE](/sql/sql-commands/administration-cmds/vacuum-table)
33+
了解更多 [VACUUM TABLE](/sql/sql-commands/administration-cmds/vacuum-table)
3334

3435
## 清理临时数据
3536

@@ -39,4 +40,4 @@ VACUUM TABLE <table_name>;
3940
VACUUM TEMPORARY FILES;
4041
```
4142

42-
更多信息请参见 [VACUUM TEMPORARY FILES](/sql/sql-commands/administration-cmds/vacuum-temp-files)
43+
了解更多 [VACUUM TEMPORARY FILES](/sql/sql-commands/administration-cmds/vacuum-temp-files)

docs/cn/sql-reference/10-sql-commands/00-ddl/02-user/01-user-create-user.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CREATE [ OR REPLACE ] USER <name> IDENTIFIED [ WITH <auth_type> ] BY '<password>
2626
```
2727

2828
- *auth_type* 可以是 `double_sha1_password` (默认), `sha256_password``no_password`
29-
-`MUST_CHANGE_PASSWORD` 设置为 `true` 时,新用户必须在首次登录时更改密码。用户可以使用 [ALTER USER](03-user-alter-user.md) 命令更改自己的密码。
29+
-`MUST_CHANGE_PASSWORD` 设置为 `true` 时,新用户在首次登录时必须更改密码。用户可以使用 [ALTER USER](03-user-alter-user.md) 命令更改自己的密码。
3030
- 当您使用 CREATE USER 或 [ALTER USER](03-user-alter-user.md) 为用户设置默认角色时,Databend 不会验证角色的存在或自动授予角色给用户。您必须显式地将角色授予用户,角色才会生效。
3131
-`DISABLED` 设置为 `true` 时,新用户创建时处于禁用状态。处于此状态的用户无法登录 Databend,直到他们被启用。要启用或禁用已创建的用户,请使用 [ALTER USER](03-user-alter-user.md) 命令。
3232

@@ -167,7 +167,7 @@ Connected to Databend Query v1.2.424-nightly-d3a89f708d(rust-1.77.0-nightly-2024
167167
CREATE USER eric IDENTIFIED BY 'abc123' WITH MUST_CHANGE_PASSWORD = TRUE;
168168
```
169169

170-
2. 启动 BendSQL 并以新用户身份连接到 Databend。连接后,您将看到一条消息,指示需要更改密码。
170+
2. 启动 BendSQL 并以新用户身份连接到 Databend。一旦连接,您将看到一条消息,指示需要更改密码。
171171

172172
```bash
173173
MacBook-Air:~ eric$ bendsql -ueric -pabc123
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: SYSTEM ENABLE / DISABLE EXCEPTION_BACKTRACE
3+
---
4+
5+
import FunctionDescription from '@site/src/components/FunctionDescription';
6+
7+
<FunctionDescription description="引入或更新: v1.2.530"/>
8+
9+
控制Databend中Rust回溯的生成。`SYSTEM ENABLE EXCEPTION_BACKTRACE`在发生panic时启用回溯以进行调试,而`SYSTEM DISABLE EXCEPTION_BACKTRACE`则禁用它们以避免额外的开销或敏感信息的暴露。
10+
11+
## 语法
12+
13+
```sql
14+
-- 启用Rust回溯
15+
SYSTEM ENABLE EXCEPTION_BACKTRACE
16+
17+
-- 禁用Rust回溯
18+
SYSTEM DISABLE EXCEPTION_BACKTRACE
19+
```

docs/cn/sql-reference/20-sql-functions/08-window-functions/first-value.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ VALUES
3939
(4, 'Mary', 'Williams', 7000.00),
4040
(5, 'Michael', 'Brown', 4500.00);
4141

42-
-- 使用 FIRST_VALUE 获取薪水最高的员工的姓名
42+
-- 使用 FIRST_VALUE 获取工资最高的员工的名字
4343
SELECT employee_id, first_name, last_name, salary,
4444
FIRST_VALUE(first_name) OVER (ORDER BY salary DESC) AS highest_salary_first_name
4545
FROM employees;

docs/cn/sql-reference/20-sql-functions/08-window-functions/nth-value.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import FunctionDescription from '@site/src/components/FunctionDescription';
66

77
<FunctionDescription description="引入版本: v1.2.568"/>
88

9-
返回表达式在窗口框架的第 n 行(如果设置了 `IGNORE NULLS`则在不包含空值的行中)计算的值;如果没有这样的行,则返回 NULL。
9+
返回表达式 `expr` 在窗口框架的第 `n` 行(如果设置了 `IGNORE NULLS`则是在具有非空 `expr` 值的行中)的计算结果;如果没有这样的行,则返回 NULL。
1010

1111
另请参阅:
1212

@@ -19,7 +19,7 @@ import FunctionDescription from '@site/src/components/FunctionDescription';
1919
NTH_VALUE(expression, n) [ { IGNORE | RESPECT } NULLS ] OVER ([PARTITION BY partition_expression] ORDER BY order_expression [window_frame])
2020
```
2121

22-
有关窗口框架的语法,请参阅 [窗口框架语法](index.md#window-frame-语法)
22+
有关窗口框架的语法,请参阅 [窗口框架语法](index.md#window-frame-syntax)
2323

2424
## 示例
2525

@@ -39,7 +39,7 @@ VALUES
3939
(4, 'Mary', 'Williams', 7000.00),
4040
(5, 'Michael', 'Brown', 4500.00);
4141

42-
-- 使用 NTH_VALUE 检索工资第二高的员工的姓名
42+
-- 使用 NTH_VALUE 检索薪水第二高的员工的姓名
4343
SELECT employee_id, first_name, last_name, salary,
4444
NTH_VALUE(first_name, 2) OVER (ORDER BY salary DESC) AS second_highest_salary_first_name
4545
FROM employees;

0 commit comments

Comments
 (0)