This is an automated email from the ASF dual-hosted git repository.

jiafengzheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 985ee1a8921 sync doc
985ee1a8921 is described below

commit 985ee1a89214d65e631257461f92fd6487dc7120
Author: jiafeng.zhang <zhang...@gmail.com>
AuthorDate: Fri Jul 29 12:16:18 2022 +0800

    sync doc
---
 .../cluster-management/elastic-expansion.md        |  8 +--
 docs/install/install-deploy.md                     |  6 +-
 .../Alter/ALTER-TABLE-COMMENT.md                   | 79 ++++++++++++++++++++++
 .../cluster-management/elastic-expansion.md        |  4 +-
 .../current/releasenotes/release-1.1.1.md          |  2 +-
 .../Alter/ALTER-TABLE-COMMENT.md                   | 79 ++++++++++++++++++++++
 sidebars.json                                      |  1 +
 7 files changed, 169 insertions(+), 10 deletions(-)

diff --git a/docs/admin-manual/cluster-management/elastic-expansion.md 
b/docs/admin-manual/cluster-management/elastic-expansion.md
index 11b4e5741d5..94446ae55ae 100644
--- a/docs/admin-manual/cluster-management/elastic-expansion.md
+++ b/docs/admin-manual/cluster-management/elastic-expansion.md
@@ -129,12 +129,12 @@ DECOMMISSION clause:
 > DECOMMISSION notes:
 >
 > 1. This command is used to safely delete BE nodes. After the command is 
 > issued, Doris attempts to migrate the data on the BE to other BE nodes, and 
 > when all data is migrated, Doris automatically deletes the node.
-> 2. The command is an asynchronous operation. After execution, you can see 
that the BE node's isDecommission status is true through ``SHOW PROC 
'/backends';` Indicates that the node is offline.
-> 3. The order **does not necessarily carry out successfully**. For example, 
when the remaining BE storage space is insufficient to accommodate the data on 
the offline BE, or when the number of remaining machines does not meet the 
minimum number of replicas, the command cannot be completed, and the BE will 
always be in the state of isDecommission as true.
+> 2. The command is an asynchronous operation. After execution, you can see 
that the BE node's `SystemDecommissioned` status is true through ``SHOW PROC 
'/backends';` Indicates that the node is offline.
+> 3. The order **does not necessarily carry out successfully**. For example, 
when the remaining BE storage space is insufficient to accommodate the data on 
the offline BE, or when the number of remaining machines does not meet the 
minimum number of replicas, the command cannot be completed, and the BE will 
always be in the state of `SystemDecommissioned` as true.
 > 4. The progress of DECOMMISSION can be viewed through `SHOW PROC 
 > '/backends';` Tablet Num, and if it is in progress, Tablet Num will continue 
 > to decrease.
 > 5. The operation can be carried out by:
-     >                 ```CANCEL ALTER SYSTEM DECOMMISSION BACKEND 
"be_host:be_heartbeat_service_port";```
-     >         The order was cancelled. When cancelled, the data on the BE 
will maintain the current amount of data remaining. Follow-up Doris re-load 
balancing
+>              ```CANCEL ALTER SYSTEM DECOMMISSION BACKEND 
"be_host:be_heartbeat_service_port";```
+>      The order was cancelled. When cancelled, the data on the BE will 
maintain the current amount of data remaining. Follow-up Doris re-load balancing
 
 **For expansion and scaling of BE nodes in multi-tenant deployment 
environments, please refer to the [Multi-tenant Design 
Document](../multi-tenant.md).**
 
diff --git a/docs/install/install-deploy.md b/docs/install/install-deploy.md
index 3d302c06aa1..45568374390 100644
--- a/docs/install/install-deploy.md
+++ b/docs/install/install-deploy.md
@@ -378,8 +378,8 @@ DECOMMISSION clause:
 > DECOMMISSION notes:
 > 
 > 1. This command is used to safely delete BE nodes. After the command is 
 > issued, Doris attempts to migrate the data on the BE to other BE nodes, and 
 > when all data is migrated, Doris automatically deletes the node.
-> 2. The command is an asynchronous operation. After execution, you can see 
that the BE node's isDecommission status is true through ``SHOW PROC 
'/backends';` Indicates that the node is offline.
-> 3. The order **does not necessarily carry out successfully**. For example, 
when the remaining BE storage space is insufficient to accommodate the data on 
the offline BE, or when the number of remaining machines does not meet the 
minimum number of replicas, the command cannot be completed, and the BE will 
always be in the state of isDecommission as true.
+> 2. The command is an asynchronous operation. After execution, you can see 
that the BE node's `SystemDecommissioned` status is true through ``SHOW PROC 
'/backends';` Indicates that the node is offline.
+> 3. The order **does not necessarily carry out successfully**. For example, 
when the remaining BE storage space is insufficient to accommodate the data on 
the offline BE, or when the number of remaining machines does not meet the 
minimum number of replicas, the command cannot be completed, and the BE will 
always be in the state of `SystemDecommissioned` as true.
 > 4. The progress of DECOMMISSION can be viewed through `SHOW PROC 
 > '/backends';` Tablet Num, and if it is in progress, Tablet Num will continue 
 > to decrease.
 > 5. The operation can be carried out by:
 >              ```CANCEL ALTER SYSTEM DECOMMISSION BACKEND 
 > "be_host:be_heartbeat_service_port";```
@@ -491,6 +491,6 @@ Broker is a stateless process that can be started or 
stopped at will. Of course,
 
    ```shell
    vim /etc/supervisord.conf
-
+   
    minfds=65535                 ; (min. avail startup file descriptors;default 
1024)
    ```
\ No newline at end of file
diff --git 
a/docs/sql-manual/sql-reference/Data-Definition-Statements/Alter/ALTER-TABLE-COMMENT.md
 
b/docs/sql-manual/sql-reference/Data-Definition-Statements/Alter/ALTER-TABLE-COMMENT.md
new file mode 100644
index 00000000000..01a1dcbd994
--- /dev/null
+++ 
b/docs/sql-manual/sql-reference/Data-Definition-Statements/Alter/ALTER-TABLE-COMMENT.md
@@ -0,0 +1,79 @@
+---
+{
+    "title": "ALTER-TABLE-COMMENT",
+    "language": "en"
+}
+---
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+## ALTER-TABLE-COMMENT
+
+### Name
+
+ALTER TABLE COMMENT
+
+### Description
+
+This statement is used to modify the comment of an existing table. The 
operation is synchronous, and the command returns to indicate completion.
+
+grammar:
+
+```sql
+ALTER TABLE [database.]table alter_clause;
+```
+
+1. Modify table comment
+
+grammar:
+
+```sql
+MODIFY COMMENT "new table comment";
+```
+
+2. Modify column comment
+
+grammar:
+
+```sql
+MODIFY COLUMN col1 COMMENT "new column comment";
+```
+
+### Example
+
+1. Change the table1's comment to table1_comment
+
+```sql
+ALTER TABLE table1 MODIFY COMMENT "table1_comment";
+```
+
+2. Change the table1's col1 comment to table1_comment
+
+```sql
+ALTER TABLE table1 MODIFY COLUMN col1 COMMENT "table1_col1_comment";
+```
+
+### Keywords
+
+```text
+ALTER, TABLE, COMMENT, ALTER TABLE
+```
+
+### Best Practice
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/cluster-management/elastic-expansion.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/cluster-management/elastic-expansion.md
index 71f4566d1f7..f02cc566b2b 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/cluster-management/elastic-expansion.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/cluster-management/elastic-expansion.md
@@ -121,8 +121,8 @@ DECOMMISSION 语句如下:
 
 > DECOMMISSION 命令说明:
 > 1. 该命令用于安全删除 BE 节点。命令下发后,Doris 会尝试将该 BE 上的数据向其他 BE 节点迁移,当所有数据都迁移完成后,Doris 
 > 会自动删除该节点。
-> 2. 该命令是一个异步操作。执行后,可以通过 ```SHOW PROC '/backends';``` 看到该 BE 节点的 
isDecommission 状态为 true。表示该节点正在进行下线。
-> 3. 该命令**不一定执行成功**。比如剩余 BE 存储空间不足以容纳下线 BE 上的数据,或者剩余机器数量不满足最小副本数时,该命令都无法完成,并且 
BE 会一直处于 isDecommission 为 true 的状态。
+> 2. 该命令是一个异步操作。执行后,可以通过 ```SHOW PROC '/backends';``` 看到该 BE 节点的 
`SystemDecommissioned` 状态为 true。表示该节点正在进行下线。
+> 3. 该命令**不一定执行成功**。比如剩余 BE 存储空间不足以容纳下线 BE 上的数据,或者剩余机器数量不满足最小副本数时,该命令都无法完成,并且 
BE 会一直处于 `SystemDecommissioned` 为 true 的状态。
 > 4. DECOMMISSION 的进度,可以通过 ```SHOW PROC '/backends';``` 中的 TabletNum 
 > 查看,如果正在进行,TabletNum 将不断减少。
 > 5. 该操作可以通过:  
      >                 ```CANCEL DECOMMISSION BACKEND 
"be_host:be_heartbeat_service_port";```  
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/releasenotes/release-1.1.1.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/releasenotes/release-1.1.1.md
index d799fac32c1..e69f6ab193a 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/releasenotes/release-1.1.1.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/releasenotes/release-1.1.1.md
@@ -1,6 +1,6 @@
 ---
 {
-    "title": "Release 1.1.0",
+    "title": "Release 1.1.1",
     "language": "zh-CN"
 }
 ---
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Data-Definition-Statements/Alter/ALTER-TABLE-COMMENT.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Data-Definition-Statements/Alter/ALTER-TABLE-COMMENT.md
new file mode 100644
index 00000000000..85db7fd5b1d
--- /dev/null
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Data-Definition-Statements/Alter/ALTER-TABLE-COMMENT.md
@@ -0,0 +1,79 @@
+---
+{
+    "title": "ALTER-TABLE-COMMENT",
+    "language": "zh-CN"
+}
+---
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+## ALTER-TABLE-COMMENT
+
+### Name
+
+ALTER TABLE COMMENT
+
+### Description
+
+该语句用于对已有 table 的 comment 进行修改。这个操作是同步的,命令返回表示执行完毕。
+
+语法:
+
+```sql
+ALTER TABLE [database.]table alter_clause;
+```
+
+1. 修改表注释
+
+语法:
+
+```sql
+MODIFY COMMENT "new table comment";
+```
+
+2. 修改列注释
+
+ 语法:
+
+```sql
+MODIFY COLUMN col1 COMMENT "new column comment";
+```
+
+### Example
+
+1. 将名为 table1 的 comment 修改为 table1_comment
+
+```sql
+ALTER TABLE table1 MODIFY COMMENT "table1_comment";
+```
+
+2. 将名为 table1 的 col1 列的 comment 修改为 table1_col1_comment
+
+```sql
+ALTER TABLE table1 MODIFY COLUMN col1 COMMENT "table1_col1_comment";
+```
+
+### Keywords
+
+```text
+ALTER, TABLE, COMMENT, ALTER TABLE
+```
+
+### Best Practice
diff --git a/sidebars.json b/sidebars.json
index 7e0a23fa5aa..eb6ff0be824 100644
--- a/sidebars.json
+++ b/sidebars.json
@@ -539,6 +539,7 @@
                                         
"sql-manual/sql-reference/Data-Definition-Statements/Alter/ALTER-SQL-BLOCK-RULE",
                                         
"sql-manual/sql-reference/Data-Definition-Statements/Alter/ALTER-TABLE-BITMAP",
                                         
"sql-manual/sql-reference/Data-Definition-Statements/Alter/ALTER-TABLE-COLUMN",
+                                        
"sql-manual/sql-reference/Data-Definition-Statements/Alter/ALTER-TABLE-COMMENT",
                                         
"sql-manual/sql-reference/Data-Definition-Statements/Alter/ALTER-TABLE-PARTITION",
                                         
"sql-manual/sql-reference/Data-Definition-Statements/Alter/ALTER-TABLE-PROPERTY",
                                         
"sql-manual/sql-reference/Data-Definition-Statements/Alter/ALTER-TABLE-RENAME",


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to