Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] Fix sidebar and deadlink of v2.1/3.0 #1742

Merged
merged 22 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ SHOW ALTER TABLE MATERIALIZED VIEW

### Description

This command is used to view the execution of the Create Materialized View job submitted through the [CREATE-MATERIALIZED-VIEW](../../sql-reference/Data-Definition-Statements/Create/CREATE-MATERIALIZED-VIEW.md) statement.
This command is used to view the execution of the Create Materialized View job submitted through the [CREATE-MATERIALIZED-VIEW](../../sql-statements/Data-Definition-Statements/Create/CREATE-MATERIALIZED-VIEW.md) statement.

> This statement is equivalent to `SHOW ALTER TABLE ROLLUP`;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ SHOW ALTER TABLE MATERIALIZED VIEW

## 描述

该命令用于查看通过 [CREATE-MATERIALIZED-VIEW](../../sql-reference/Data-Definition-Statements/Create/CREATE-MATERIALIZED-VIEW.md) 语句提交的创建物化视图作业的执行情况。
该命令用于查看通过 [CREATE-MATERIALIZED-VIEW](../../sql-statements/Data-Definition-Statements/Create/CREATE-MATERIALIZED-VIEW.md) 语句提交的创建物化视图作业的执行情况。

> 该语句等同于 `SHOW ALTER TABLE ROLLUP`;

Expand Down Expand Up @@ -72,7 +72,7 @@ RollupIndexName: r1
1 row in set (0.00 sec)
```

- `JobId`:作业唯一ID
- `JobId`:作业唯一 ID

- `TableName`:基表名称

Expand All @@ -90,7 +90,7 @@ RollupIndexName: r1

- WAITING_TXN:

在正式开始产生物化视图数据前,会等待当前这个表上的正在运行的导入事务完成。而 `TransactionId` 字段就是当前正在等待的事务ID。当这个ID之前的导入都完成后,就会实际开始作业。
在正式开始产生物化视图数据前,会等待当前这个表上的正在运行的导入事务完成。而 `TransactionId` 字段就是当前正在等待的事务 ID。当这个 ID 之前的导入都完成后,就会实际开始作业。

- RUNNING:作业运行中。

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ under the License.

该语句用于创建物化视图。

该操作为异步操作,提交成功后,需通过 [SHOW ALTER TABLE MATERIALIZED VIEW](../table/SHOW-ALTER-TABLE-MATERIALIZED-VIEW) 查看作业进度。在显示 FINISHED 后既可通过 `desc [table_name] all` 命令来查看物化视图的 schema 了。
该操作为异步操作,提交成功后,需通过 [SHOW ALTER TABLE MATERIALIZED VIEW](./SHOW-ALTER-TABLE-MATERIALIZED-VIEW) 查看作业进度。在显示 FINISHED 后既可通过 `desc [table_name] all` 命令来查看物化视图的 schema 了。

语法:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ under the License.

## 描述

该命令用于查看通过 [CREATE-MATERIALIZED-VIEW](../../sql-reference/Data-Definition-Statements/Create/CREATE-MATERIALIZED-VIEW.md) 语句提交的创建物化视图作业的执行情况。
该命令用于查看通过 [CREATE-MATERIALIZED-VIEW](../../../sql-statements/table-and-view/materialized-view/CREATE-MATERIALIZED-VIEW.md) 语句提交的创建物化视图作业的执行情况。

> 该语句等同于 `SHOW ALTER TABLE ROLLUP`;

Expand Down Expand Up @@ -107,9 +107,5 @@ RollupIndexName: r1
SHOW ALTER TABLE MATERIALIZED VIEW FROM example_db;
```

## 关键词

SHOW, ALTER, TABLE, MATERIALIZED, VIEW

## 最佳实践

Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ under the License.

该语句用于创建物化视图。

该操作为异步操作,提交成功后,需通过 [SHOW ALTER TABLE MATERIALIZED VIEW](../table/SHOW-ALTER-TABLE-MATERIALIZED-VIEW) 查看作业进度。在显示 FINISHED 后既可通过 `desc [table_name] all` 命令来查看物化视图的 schema 了。
该操作为异步操作,提交成功后,需通过 [SHOW ALTER TABLE MATERIALIZED VIEW](./SHOW-ALTER-TABLE-MATERIALIZED-VIEW) 查看作业进度。在显示 FINISHED 后既可通过 `desc [table_name] all` 命令来查看物化视图的 schema 了。

语法:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ under the License.

## 描述

该命令用于查看通过 [CREATE-MATERIALIZED-VIEW](../../sql-reference/Data-Definition-Statements/Create/CREATE-MATERIALIZED-VIEW.md) 语句提交的创建物化视图作业的执行情况。
该命令用于查看通过 [CREATE-MATERIALIZED-VIEW](../../../sql-statements/table-and-view/materialized-view/CREATE-MATERIALIZED-VIEW.md) 语句提交的创建物化视图作业的执行情况。

> 该语句等同于 `SHOW ALTER TABLE ROLLUP`;

Expand Down Expand Up @@ -108,9 +108,6 @@ RollupIndexName: r1
SHOW ALTER TABLE MATERIALIZED VIEW FROM example_db;
```

## 关键词

SHOW, ALTER, TABLE, MATERIALIZED, VIEW



Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ under the License.

该语句用于创建物化视图。

该操作为异步操作,提交成功后,需通过 [SHOW ALTER TABLE MATERIALIZED VIEW](../table/SHOW-ALTER-TABLE-MATERIALIZED-VIEW) 查看作业进度。在显示 FINISHED 后既可通过 `desc [table_name] all` 命令来查看物化视图的 schema 了。
该操作为异步操作,提交成功后,需通过 [SHOW ALTER TABLE MATERIALIZED VIEW](./SHOW-ALTER-TABLE-MATERIALIZED-VIEW) 查看作业进度。在显示 FINISHED 后既可通过 `desc [table_name] all` 命令来查看物化视图的 schema 了。

语法:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ under the License.

## Description

This command is used to view the execution of the Create Materialized View job submitted through the [CREATE-MATERIALIZED-VIEW](../../sql-reference/Data-Definition-Statements/Create/CREATE-MATERIALIZED-VIEW.md) statement.
This command is used to view the execution of the Create Materialized View job submitted through the [CREATE-MATERIALIZED-VIEW](../../table-and-view/materialized-view/CREATE-MATERIALIZED-VIEW.md) statement.

> This statement is equivalent to `SHOW ALTER TABLE ROLLUP`;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ under the License.

This statement is used to create a materialized view.

This operation is an asynchronous operation. After the submission is successful, you need to view the job progress through [SHOW ALTER TABLE MATERIALIZED VIEW](../table/SHOW-ALTER-TABLE-MATERIALIZED-VIEW). After displaying FINISHED, you can use the `desc [table_name] all` command to view the schema of the materialized view.
This operation is an asynchronous operation. After the submission is successful, you need to view the job progress through [SHOW ALTER TABLE MATERIALIZED VIEW](./SHOW-ALTER-TABLE-MATERIALIZED-VIEW). After displaying FINISHED, you can use the `desc [table_name] all` command to view the schema of the materialized view.

grammar:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ under the License.

## Description

This command is used to view the execution of the Create Materialized View job submitted through the [CREATE-MATERIALIZED-VIEW](../../sql-reference/Data-Definition-Statements/Create/CREATE-MATERIALIZED-VIEW.md) statement.
This command is used to view the execution of the Create Materialized View job submitted through the [CREATE-MATERIALIZED-VIEW](../../table-and-view/materialized-view/CREATE-MATERIALIZED-VIEW.md) statement.

> This statement is equivalent to `SHOW ALTER TABLE ROLLUP`;

Expand Down
2 changes: 1 addition & 1 deletion versioned_sidebars/version-2.1-sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -1603,7 +1603,6 @@
"sql-manual/sql-statements/table-and-view/table/ALTER-TABLE-COMMENT",
"sql-manual/sql-statements/table-and-view/table/CANCEL-ALTER-TABLE",
"sql-manual/sql-statements/table-and-view/table/SHOW-ALTER-TABLE",
"sql-manual/sql-statements/table-and-view/table/SHOW-ALTER-TABLE-MATERIALIZED-VIEW",
"sql-manual/sql-statements/table-and-view/table/TRUNCATE-TABLE",
"sql-manual/sql-statements/table-and-view/table/DROP-TABLE",
"sql-manual/sql-statements/table-and-view/table/SHOW-CREATE-TABLE",
Expand Down Expand Up @@ -1652,6 +1651,7 @@
"sql-manual/sql-statements/table-and-view/materialized-view/DROP-ASYNC-MATERIALIZED-VIEW",
"sql-manual/sql-statements/table-and-view/materialized-view/REFRESH-MATERIALIZED-VIEW",
"sql-manual/sql-statements/table-and-view/materialized-view/SHOW-CREATE-MATERIALIZED-VIEW",
"sql-manual/sql-statements/table-and-view/materialized-view/SHOW-ALTER-TABLE-MATERIALIZED-VIEW",
"sql-manual/sql-statements/table-and-view/materialized-view/PAUSE-MATERIALIZED-VIEW",
"sql-manual/sql-statements/table-and-view/materialized-view/RESUME-MATERIALIZED-VIEW",
"sql-manual/sql-statements/table-and-view/materialized-view/CANCEL-MATERIALIZED-VIEW-TASK"
Expand Down
2 changes: 1 addition & 1 deletion versioned_sidebars/version-3.0-sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -1658,7 +1658,6 @@
"sql-manual/sql-statements/table-and-view/table/ALTER-TABLE-AND-GENERATED-COLUMN",
"sql-manual/sql-statements/table-and-view/table/CANCEL-ALTER-TABLE",
"sql-manual/sql-statements/table-and-view/table/SHOW-ALTER-TABLE",
"sql-manual/sql-statements/table-and-view/table/SHOW-ALTER-TABLE-MATERIALIZED-VIEW",
"sql-manual/sql-statements/table-and-view/table/TRUNCATE-TABLE",
"sql-manual/sql-statements/table-and-view/table/DROP-TABLE",
"sql-manual/sql-statements/table-and-view/table/SHOW-CREATE-TABLE",
Expand Down Expand Up @@ -1707,6 +1706,7 @@
"sql-manual/sql-statements/table-and-view/materialized-view/DROP-ASYNC-MATERIALIZED-VIEW",
"sql-manual/sql-statements/table-and-view/materialized-view/REFRESH-MATERIALIZED-VIEW",
"sql-manual/sql-statements/table-and-view/materialized-view/SHOW-CREATE-MATERIALIZED-VIEW",
"sql-manual/sql-statements/table-and-view/materialized-view/SHOW-ALTER-TABLE-MATERIALIZED-VIEW",
"sql-manual/sql-statements/table-and-view/materialized-view/PAUSE-MATERIALIZED-VIEW-JOB",
"sql-manual/sql-statements/table-and-view/materialized-view/RESUME-MATERIALIZED-VIEW-JOB",
"sql-manual/sql-statements/table-and-view/materialized-view/CANCEL-MATERIALIZED-VIEW-TASK"
Expand Down
Loading