You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2022/12/29 06:19:30 UTC

[doris] branch master updated: [typo](docs)fix-doc #15438

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

yiguolei 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 2ae28ea9dd [typo](docs)fix-doc #15438
2ae28ea9dd is described below

commit 2ae28ea9dd9475c7f0bf1da242b28a422e424b28
Author: Liqf <10...@users.noreply.github.com>
AuthorDate: Thu Dec 29 14:19:24 2022 +0800

    [typo](docs)fix-doc #15438
---
 .../sql-manual/sql-functions/json-functions/get_json_double.md     | 2 ++
 .../docs/sql-manual/sql-functions/json-functions/get_json_int.md   | 2 ++
 .../sql-manual/sql-functions/json-functions/get_json_string.md     | 2 ++
 .../docs/sql-manual/sql-functions/json-functions/jsonb_extract.md  | 7 +++++++
 docs/en/docs/sql-manual/sql-functions/string-functions/uuid.md     | 7 +++++++
 .../sql-manual/sql-functions/json-functions/get_json_double.md     | 2 ++
 .../docs/sql-manual/sql-functions/json-functions/get_json_int.md   | 2 ++
 .../sql-manual/sql-functions/json-functions/get_json_string.md     | 2 ++
 .../docs/sql-manual/sql-functions/json-functions/jsonb_extract.md  | 7 +++++++
 docs/zh-CN/docs/sql-manual/sql-functions/string-functions/uuid.md  | 7 +++++++
 10 files changed, 40 insertions(+)

diff --git a/docs/en/docs/sql-manual/sql-functions/json-functions/get_json_double.md b/docs/en/docs/sql-manual/sql-functions/json-functions/get_json_double.md
index ef6e18d0a4..2b7a6dddcc 100644
--- a/docs/en/docs/sql-manual/sql-functions/json-functions/get_json_double.md
+++ b/docs/en/docs/sql-manual/sql-functions/json-functions/get_json_double.md
@@ -37,6 +37,8 @@ Use [] to denote array subscripts, starting at 0.
 The content of path cannot contain ",[and].
 If the json_string format is incorrect, or the json_path format is incorrect, or matches cannot be found, NULL is returned.
 
+In addition, it is recommended to use the jsonb type and jsonb_extract_XXX function performs the same function.
+
 ### example
 
 1. Get the value of key as "k1"
diff --git a/docs/en/docs/sql-manual/sql-functions/json-functions/get_json_int.md b/docs/en/docs/sql-manual/sql-functions/json-functions/get_json_int.md
index 20144d9fd7..4b5a63f93e 100644
--- a/docs/en/docs/sql-manual/sql-functions/json-functions/get_json_int.md
+++ b/docs/en/docs/sql-manual/sql-functions/json-functions/get_json_int.md
@@ -37,6 +37,8 @@ Use [] to denote array subscripts, starting at 0.
 The content of path cannot contain ",[and].
 If the json_string format is incorrect, or the json_path format is incorrect, or matches cannot be found, NULL is returned.
 
+In addition, it is recommended to use the jsonb type and jsonb_extract_XXX function performs the same function.
+
 ### example
 
 1. Get the value of key as "k1"
diff --git a/docs/en/docs/sql-manual/sql-functions/json-functions/get_json_string.md b/docs/en/docs/sql-manual/sql-functions/json-functions/get_json_string.md
index 746750e995..50ece140e6 100644
--- a/docs/en/docs/sql-manual/sql-functions/json-functions/get_json_string.md
+++ b/docs/en/docs/sql-manual/sql-functions/json-functions/get_json_string.md
@@ -37,6 +37,8 @@ Use [] to denote array subscripts, starting at 0.
 The content of path cannot contain ",[and].
 If the json_string format is incorrect, or the json_path format is incorrect, or matches cannot be found, NULL is returned.
 
+In addition, it is recommended to use the jsonb type and jsonb_extract_XXX function performs the same function.
+
 ### example
 
 1. Get the value of key as "k1"
diff --git a/docs/en/docs/sql-manual/sql-functions/json-functions/jsonb_extract.md b/docs/en/docs/sql-manual/sql-functions/json-functions/jsonb_extract.md
index ccba690ec3..e5dfb6cefc 100644
--- a/docs/en/docs/sql-manual/sql-functions/json-functions/jsonb_extract.md
+++ b/docs/en/docs/sql-manual/sql-functions/json-functions/jsonb_extract.md
@@ -25,6 +25,13 @@ under the License.
 -->
 
 ## jsonb_extract
+
+<version since="1.2.0">
+
+jsonb_extract
+
+</version>
+
 ### description
 
 jsonb_extract functions extract field specified by json_path from JSONB. A series of functions are provided for different datatype.
diff --git a/docs/en/docs/sql-manual/sql-functions/string-functions/uuid.md b/docs/en/docs/sql-manual/sql-functions/string-functions/uuid.md
index 328fe9c18e..5000354d53 100644
--- a/docs/en/docs/sql-manual/sql-functions/string-functions/uuid.md
+++ b/docs/en/docs/sql-manual/sql-functions/string-functions/uuid.md
@@ -25,6 +25,13 @@ under the License.
 -->
 
 ## uuid
+
+<version since="1.2.0">
+
+uuid
+
+</version>
+
 ### description
 #### Syntax
 
diff --git a/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/get_json_double.md b/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/get_json_double.md
index 057fc73091..22612b12f1 100644
--- a/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/get_json_double.md
+++ b/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/get_json_double.md
@@ -37,6 +37,8 @@ under the License.
 path 的内容不能包含 ", [ 和 ]。
 如果 json_string 格式不对,或 json_path 格式不对,或无法找到匹配项,则返回 NULL。
 
+另外,推荐使用jsonb类型和jsonb_extract_XXX函数实现同样的功能。
+
 ### example
 
 1. 获取 key 为 "k1" 的 value
diff --git a/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/get_json_int.md b/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/get_json_int.md
index 5135e1b855..ecc29de09c 100644
--- a/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/get_json_int.md
+++ b/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/get_json_int.md
@@ -37,6 +37,8 @@ under the License.
 path 的内容不能包含 ", [ 和 ]。
 如果 json_string 格式不对,或 json_path 格式不对,或无法找到匹配项,则返回 NULL。
 
+另外,推荐使用jsonb类型和jsonb_extract_XXX函数实现同样的功能。
+
 ### example
 
 1. 获取 key 为 "k1" 的 value
diff --git a/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/get_json_string.md b/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/get_json_string.md
index ce022fabb5..58d4759155 100644
--- a/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/get_json_string.md
+++ b/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/get_json_string.md
@@ -37,6 +37,8 @@ under the License.
 path 的内容不能包含 ", [ 和 ]。
 如果 json_string 格式不对,或 json_path 格式不对,或无法找到匹配项,则返回 NULL。
 
+另外,推荐使用jsonb类型和jsonb_extract_XXX函数实现同样的功能。
+
 ### example
 
 1. 获取 key 为 "k1" 的 value
diff --git a/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/jsonb_extract.md b/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/jsonb_extract.md
index 1eb2d5e178..56bb818755 100644
--- a/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/jsonb_extract.md
+++ b/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/jsonb_extract.md
@@ -25,6 +25,13 @@ under the License.
 -->
 
 ## jsonb_extract
+
+<version since="1.2.0">
+
+jsonb_extract
+
+</version>
+
 ### description
 #### Syntax
 
diff --git a/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/uuid.md b/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/uuid.md
index 0b1e6b1661..29339d1d6b 100644
--- a/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/uuid.md
+++ b/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/uuid.md
@@ -25,6 +25,13 @@ under the License.
 -->
 
 ## uuid
+
+<version since="1.2.0">
+
+uuid
+
+</version>
+
 ### description
 #### Syntax
 


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