You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by da...@apache.org on 2022/10/09 02:32:34 UTC

[doris] branch master updated: [fix](docs) fix trim, lower, upper function docs error (#13179)

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

dataroaring 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 e6f4c771d9 [fix](docs) fix trim, lower, upper function docs error (#13179)
e6f4c771d9 is described below

commit e6f4c771d98b4f669f1bad7a9e53299d78aa9ed2
Author: luozenglin <37...@users.noreply.github.com>
AuthorDate: Sun Oct 9 10:32:26 2022 +0800

    [fix](docs) fix trim, lower, upper function docs error (#13179)
---
 docs/en/docs/sql-manual/sql-functions/string-functions/lower.md    | 2 +-
 docs/en/docs/sql-manual/sql-functions/string-functions/rtrim.md    | 2 +-
 docs/en/docs/sql-manual/sql-functions/string-functions/trim.md     | 2 +-
 docs/en/docs/sql-manual/sql-functions/string-functions/upper.md    | 2 +-
 docs/zh-CN/docs/sql-manual/sql-functions/string-functions/lower.md | 2 +-
 docs/zh-CN/docs/sql-manual/sql-functions/string-functions/rtrim.md | 2 +-
 docs/zh-CN/docs/sql-manual/sql-functions/string-functions/trim.md  | 2 +-
 docs/zh-CN/docs/sql-manual/sql-functions/string-functions/upper.md | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/docs/en/docs/sql-manual/sql-functions/string-functions/lower.md b/docs/en/docs/sql-manual/sql-functions/string-functions/lower.md
index 81ca6fb451..09ab240bf3 100644
--- a/docs/en/docs/sql-manual/sql-functions/string-functions/lower.md
+++ b/docs/en/docs/sql-manual/sql-functions/string-functions/lower.md
@@ -28,7 +28,7 @@ under the License.
 ### Description
 #### Syntax
 
-`INT lower (VARCHAR str)`
+`VARCHAR lower (VARCHAR str)`
 
 
 Convert all strings in parameters to lowercase
diff --git a/docs/en/docs/sql-manual/sql-functions/string-functions/rtrim.md b/docs/en/docs/sql-manual/sql-functions/string-functions/rtrim.md
index fb2752bef1..7cade6ab52 100644
--- a/docs/en/docs/sql-manual/sql-functions/string-functions/rtrim.md
+++ b/docs/en/docs/sql-manual/sql-functions/string-functions/rtrim.md
@@ -28,7 +28,7 @@ under the License.
 ### description
 #### Syntax
 
-`VARCHAR ltrim(VARCHAR str)`
+`VARCHAR rtrim(VARCHAR str)`
 
 
 Remove the space that appears continuously from the ending of the parameter str
diff --git a/docs/en/docs/sql-manual/sql-functions/string-functions/trim.md b/docs/en/docs/sql-manual/sql-functions/string-functions/trim.md
index c6b8034fe4..e7e26526cb 100644
--- a/docs/en/docs/sql-manual/sql-functions/string-functions/trim.md
+++ b/docs/en/docs/sql-manual/sql-functions/string-functions/trim.md
@@ -28,7 +28,7 @@ under the License.
 ### description
 #### Syntax
 
-`VARCHAR ltrim(VARCHAR str)`
+`VARCHAR trim(VARCHAR str)`
 
 
 Remove the space that appears continuously from the starring and ending of the parameter str
diff --git a/docs/en/docs/sql-manual/sql-functions/string-functions/upper.md b/docs/en/docs/sql-manual/sql-functions/string-functions/upper.md
index 14a4ed5e1d..169997e6fd 100644
--- a/docs/en/docs/sql-manual/sql-functions/string-functions/upper.md
+++ b/docs/en/docs/sql-manual/sql-functions/string-functions/upper.md
@@ -28,7 +28,7 @@ under the License.
 ### description
 #### Syntax
 
-`INT upper(VARCHAR str)`
+`VARCHAR upper(VARCHAR str)`
 
 
 Convert all strings in parameters to uppercase
diff --git a/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/lower.md b/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/lower.md
index 177b22572a..07e323c878 100644
--- a/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/lower.md
+++ b/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/lower.md
@@ -28,7 +28,7 @@ under the License.
 ### description
 #### Syntax
 
-`INT lower(VARCHAR str)`
+`VARCHAR lower(VARCHAR str)`
 
 
 将参数中所有的字符串都转换成小写
diff --git a/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/rtrim.md b/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/rtrim.md
index 9774fe6035..f1d73bf487 100644
--- a/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/rtrim.md
+++ b/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/rtrim.md
@@ -28,7 +28,7 @@ under the License.
 ### description
 #### Syntax
 
-`VARCHAR ltrim(VARCHAR str)`
+`VARCHAR rtrim(VARCHAR str)`
 
 
 将参数 str 中从右侧部分开始部分连续出现的空格去掉
diff --git a/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/trim.md b/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/trim.md
index c6c5e1b67b..a4575d6526 100644
--- a/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/trim.md
+++ b/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/trim.md
@@ -28,7 +28,7 @@ under the License.
 ### description
 #### Syntax
 
-`VARCHAR ltrim(VARCHAR str)`
+`VARCHAR trim(VARCHAR str)`
 
 
 将参数 str 中右侧和左侧开始部分连续出现的空格去掉
diff --git a/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/upper.md b/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/upper.md
index 953b646ad0..bcb783a891 100644
--- a/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/upper.md
+++ b/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/upper.md
@@ -28,7 +28,7 @@ under the License.
 ### description
 #### Syntax
 
-`INT upper(VARCHAR str)`
+`VARCHAR upper(VARCHAR str)`
 
 
 将参数中所有的字符串都转换成大写


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