You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ji...@apache.org on 2022/12/07 00:44:47 UTC

[doris] branch master updated: [typo](doc)Fix Utility Statements Doc (#14859)

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.git


The following commit(s) were added to refs/heads/master by this push:
     new 4911f9c6a1 [typo](doc)Fix Utility Statements Doc (#14859)
4911f9c6a1 is described below

commit 4911f9c6a17e3ec0ded92c3c009a7dd6ccd51d1b
Author: jiafeng.zhang <zh...@gmail.com>
AuthorDate: Wed Dec 7 08:44:40 2022 +0800

    [typo](doc)Fix Utility Statements Doc (#14859)
    
    * [typo](doc)Fix Utility Statements Doc
---
 docs/en/docs/admin-manual/cluster-management/upgrade.md           | 7 ++++---
 docs/en/docs/install/install-deploy.md                            | 3 ++-
 docs/en/docs/sql-manual/sql-reference/Operators/in.md             | 8 ++++++++
 docs/zh-CN/docs/admin-manual/cluster-management/upgrade.md        | 8 ++++----
 docs/zh-CN/docs/install/install-deploy.md                         | 4 ++--
 .../docs/sql-manual/sql-reference/Utility-Statements/REFRESH.md   | 1 +
 .../docs/sql-manual/sql-reference/Utility-Statements/SWITCH.md    | 2 ++
 7 files changed, 23 insertions(+), 10 deletions(-)

diff --git a/docs/en/docs/admin-manual/cluster-management/upgrade.md b/docs/en/docs/admin-manual/cluster-management/upgrade.md
index 07a48b2109..b1420cc065 100644
--- a/docs/en/docs/admin-manual/cluster-management/upgrade.md
+++ b/docs/en/docs/admin-manual/cluster-management/upgrade.md
@@ -59,9 +59,10 @@ Doris can upgrade smoothly by rolling upgrades. The following steps are recommen
 ## Test the correctness of BE upgrade
 
 1. Arbitrarily select a BE node and deploy the latest doris_be binary file.
-2. <version since="1.2">Install Java UDF function: </version>, because Java UDF function is supported from version 1.2, you need to download the JAR package of Java UDF function from the official website and put it in the lib directory of BE, otherwise it may will fail to start.
-3. Restart the BE node and check the BE log be.INFO to see if the boot was successful.
-4. If the startup fails, you can check the reason first. If the error is not recoverable, you can delete the BE directly through DROP BACKEND, clean up the data, and restart the BE using the previous version of doris_be. Then re-ADD BACKEND. (**This method will result in the loss of a copy of the data, please make sure that three copies are complete, and perform this operation!!!**
+2. Restart the BE node and check the BE log be.INFO to see if the boot was successful.
+3. If the startup fails, you can check the reason first. If the error is not recoverable, you can delete the BE directly through DROP BACKEND, clean up the data, and restart the BE using the previous version of doris_be. Then re-ADD BACKEND. (**This method will result in the loss of a copy of the data, please make sure that three copies are complete, and perform this operation!!!**)
+4. Install Java UDF function
+<version since="1.2.0">Install Java UDF function: </version>, because Java UDF function is supported from version 1.2, you need to download the JAR package of Java UDF function from the official website and put it in the lib directory of BE, otherwise it may will fail to start.
 
 ## Testing FE Metadata Compatibility
 
diff --git a/docs/en/docs/install/install-deploy.md b/docs/en/docs/install/install-deploy.md
index c87151f98a..227653f8ac 100644
--- a/docs/en/docs/install/install-deploy.md
+++ b/docs/en/docs/install/install-deploy.md
@@ -221,7 +221,8 @@ See the section on `lower_case_table_names` variables in [Variables](../../advan
 * BE webserver_port configuration
 
 	If the Be componet is installed in hadoop cluster , need to change configuration `webserver_port=8040`  to avoid port used.
-* <version since="1.2">Install Java UDF functions</version>
+* 	Install Java UDF functions 
+   <version since="1.2.0">Install Java UDF functions</version>
    Because Java UDF functions are supported from version 1.2, you need to download the JAR package of Java UDF functions from the official website and put them in the lib directory of BE, otherwise it may fail to start.
 	
 * Add all BE nodes to FE
diff --git a/docs/en/docs/sql-manual/sql-reference/Operators/in.md b/docs/en/docs/sql-manual/sql-reference/Operators/in.md
index d619a0389f..18acaa1ec9 100644
--- a/docs/en/docs/sql-manual/sql-reference/Operators/in.md
+++ b/docs/en/docs/sql-manual/sql-reference/Operators/in.md
@@ -25,7 +25,15 @@ under the License.
 -->
 
 ## IN
+
+<version since="1.2.0">
+
+IN
+
+</version>
+
 ### description
+
 #### Syntax
 
 `expr IN (value, ...)`
diff --git a/docs/zh-CN/docs/admin-manual/cluster-management/upgrade.md b/docs/zh-CN/docs/admin-manual/cluster-management/upgrade.md
index 0d434d6ba8..989b39ebe1 100644
--- a/docs/zh-CN/docs/admin-manual/cluster-management/upgrade.md
+++ b/docs/zh-CN/docs/admin-manual/cluster-management/upgrade.md
@@ -59,10 +59,10 @@ Doris 可以通过滚动升级的方式,平滑进行升级。建议按照以
 ## 测试 BE 升级正确性
 
 1. 任意选择一个 BE 节点,部署最新的 doris_be 二进制文件。
-2. <version since="1.2">安装 Java UDF 函数: </version>, 因为从1.2 版本开始支持Java UDF 函数,需要从官网下载 Java UDF 函数的 JAR 包放到 BE 的 lib 目录下,否则可能会启动失败。
-3. 重启 BE 节点,通过 BE 日志 be.INFO,查看是否启动成功。
-4. 如果启动失败,可以先排查原因。如果错误不可恢复,可以直接通过 DROP BACKEND 删除该 BE、清理数据后,使用上一个版本的 doris_be 重新启动 BE。然后重新 ADD BACKEND。(**该方法会导致丢失一个数据副本,请务必确保3副本完整的情况下,执行这个操作!!!**)
-
+2. 重启 BE 节点,通过 BE 日志 be.INFO,查看是否启动成功。
+3. 如果启动失败,可以先排查原因。如果错误不可恢复,可以直接通过 DROP BACKEND 删除该 BE、清理数据后,使用上一个版本的 doris_be 重新启动 BE。然后重新 ADD BACKEND。(**该方法会导致丢失一个数据副本,请务必确保3副本完整的情况下,执行这个操作!!!**)
+4. 安装 Java UDF 函数
+<version since="1.2.0">安装 Java UDF 函数: </version>, 因为从1.2 版本开始支持Java UDF 函数,需要从官网下载 Java UDF 函数的 JAR 包放到 BE 的 lib 目录下,否则可能会启动失败。
 
 
 ## 测试 FE 元数据兼容性
diff --git a/docs/zh-CN/docs/install/install-deploy.md b/docs/zh-CN/docs/install/install-deploy.md
index d18c890029..dd043fa69b 100644
--- a/docs/zh-CN/docs/install/install-deploy.md
+++ b/docs/zh-CN/docs/install/install-deploy.md
@@ -221,8 +221,8 @@ doris默认为表名大小写敏感,如有表名大小写不敏感的需求需
 * BE webserver_port端口配置
 
   如果 be 部署在 hadoop 集群中,注意调整 be.conf 中的 `webserver_port = 8040` ,以免造成端口冲突
-
-* <version since="1.2">安装Java UDF 函数</version>
+* 安装 Java UDF 函数
+<version since="1.2.0">安装Java UDF 函数</version>
   因为从1.2 版本开始支持Java UDF 函数,需要从官网下载 Java UDF 函数的 JAR 包放到 BE 的 lib 目录下,否则可能会启动失败。
 
 * 在 FE 中添加所有 BE 节点
diff --git a/docs/zh-CN/docs/sql-manual/sql-reference/Utility-Statements/REFRESH.md b/docs/zh-CN/docs/sql-manual/sql-reference/Utility-Statements/REFRESH.md
index 723fd950bc..99232c3ea5 100644
--- a/docs/zh-CN/docs/sql-manual/sql-reference/Utility-Statements/REFRESH.md
+++ b/docs/zh-CN/docs/sql-manual/sql-reference/Utility-Statements/REFRESH.md
@@ -34,6 +34,7 @@ REFRESH
 
 </version>
 
+
 ### Description
 
 该语句用于刷新指定 Catalog/Database/Table 的元数据。
diff --git a/docs/zh-CN/docs/sql-manual/sql-reference/Utility-Statements/SWITCH.md b/docs/zh-CN/docs/sql-manual/sql-reference/Utility-Statements/SWITCH.md
index b7341373d3..6e4d8d7e16 100644
--- a/docs/zh-CN/docs/sql-manual/sql-reference/Utility-Statements/SWITCH.md
+++ b/docs/zh-CN/docs/sql-manual/sql-reference/Utility-Statements/SWITCH.md
@@ -32,6 +32,8 @@ under the License.
 SWITCH
 
 </version>
+
+
 ### Description
 
 该语句用于切换数据目录(catalog)


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