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 1c149439d7 [docs](map)Add map and struct type support parameters 
(#21802)
1c149439d7 is described below

commit 1c149439d7ec3dd641336869c9d8c5b879a665f1
Author: Jiwen liu <[email protected]>
AuthorDate: Wed Jul 19 01:06:23 2023 +0800

    [docs](map)Add map and struct type support parameters (#21802)
---
 docs/en/docs/sql-manual/sql-reference/Data-Types/MAP.md           | 5 +++++
 docs/en/docs/sql-manual/sql-reference/Data-Types/STRUCT.md        | 4 ++++
 docs/zh-CN/docs/data-operate/update-delete/batch-delete-manual.md | 2 +-
 docs/zh-CN/docs/sql-manual/sql-reference/Data-Types/MAP.md        | 4 ++++
 docs/zh-CN/docs/sql-manual/sql-reference/Data-Types/STRUCT.md     | 5 +++++
 5 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/docs/en/docs/sql-manual/sql-reference/Data-Types/MAP.md 
b/docs/en/docs/sql-manual/sql-reference/Data-Types/MAP.md
index 9c52f104dd..08b10a63d0 100644
--- a/docs/en/docs/sql-manual/sql-reference/Data-Types/MAP.md
+++ b/docs/en/docs/sql-manual/sql-reference/Data-Types/MAP.md
@@ -40,6 +40,11 @@ MAP
 
 A Map of K, V items, it cannot be used as a key column. Now MAP can only used 
in Duplicate and Unique Model Tables.
 
+Need to manually enable the support, it is disabled by default.
+```
+admin set frontend config("enable_map_type" = "true");
+```
+
 K,V could be any of:
 
 ```
diff --git a/docs/en/docs/sql-manual/sql-reference/Data-Types/STRUCT.md 
b/docs/en/docs/sql-manual/sql-reference/Data-Types/STRUCT.md
index bf3b2d1d4c..abab414888 100644
--- a/docs/en/docs/sql-manual/sql-reference/Data-Types/STRUCT.md
+++ b/docs/en/docs/sql-manual/sql-reference/Data-Types/STRUCT.md
@@ -40,6 +40,10 @@ STRUCT
 
 Represents value with structure described by multiple fields, which can be 
viewed as a collection of multiple columns.
 
+Need to manually enable the support, it is disabled by default.
+```
+admin set frontend config("enable_struct_type" = "true");
+```
 It cannot be used as a Key column. Now STRUCT can only used in Duplicate Model 
Tables.
 
 The names and number of Fields in a Struct is fixed and always Nullable, and a 
Field typically consists of the following parts.
diff --git a/docs/zh-CN/docs/data-operate/update-delete/batch-delete-manual.md 
b/docs/zh-CN/docs/data-operate/update-delete/batch-delete-manual.md
index a41ba07886..22ffabf6ee 100644
--- a/docs/zh-CN/docs/data-operate/update-delete/batch-delete-manual.md
+++ b/docs/zh-CN/docs/data-operate/update-delete/batch-delete-manual.md
@@ -324,4 +324,4 @@ li,male,10
 ```
 
并没有被删除,这是因为在底层的依赖关系上,会先判断key相同的情况,对外展示sequence列的值大的行数据,然后在看该行的`__DORIS_DELETE_SIGN__`值是否为1,如果为1则不会对外展示,如果为0,则仍会读出来。
 
-**当导入数据中同时存在数据写入和删除时(例如Flink 
CDC场景中),使用seq列可以有效的保证当数据乱序到达时的一致性,避免后到达的一个旧版本的删除操作,误删掉了先到达的新版本的数据。**
\ No newline at end of file
+**当导入数据中同时存在数据写入和删除时(例如Flink 
CDC场景中),使用seq列可以有效的保证当数据乱序到达时的一致性,避免后到达的一个旧版本的删除操作,误删掉了先到达的新版本的数据。**
diff --git a/docs/zh-CN/docs/sql-manual/sql-reference/Data-Types/MAP.md 
b/docs/zh-CN/docs/sql-manual/sql-reference/Data-Types/MAP.md
index 4af18e7956..b5c87884c2 100644
--- a/docs/zh-CN/docs/sql-manual/sql-reference/Data-Types/MAP.md
+++ b/docs/zh-CN/docs/sql-manual/sql-reference/Data-Types/MAP.md
@@ -40,6 +40,10 @@ MAP
 
 由K, V类型元素组成的map,不能作为key列使用。目前支持在Duplicate,Unique 模型的表中使用。
 
+需要手动开启支持,默认关闭.
+```
+admin set frontend config("enable_map_type" = "true");
+```
 K,V 支持的类型有:
 
 ```
diff --git a/docs/zh-CN/docs/sql-manual/sql-reference/Data-Types/STRUCT.md 
b/docs/zh-CN/docs/sql-manual/sql-reference/Data-Types/STRUCT.md
index 39ec42b212..a88fdb56eb 100644
--- a/docs/zh-CN/docs/sql-manual/sql-reference/Data-Types/STRUCT.md
+++ b/docs/zh-CN/docs/sql-manual/sql-reference/Data-Types/STRUCT.md
@@ -40,6 +40,11 @@ STRUCT
 
 由多个 Field 组成的结构体,也可被理解为多个列的集合。不能作为 Key 使用,目前 STRUCT 仅支持在 Duplicate 模型的表中使用。
 
+需要手动开启支持,默认关闭.
+```
+admin set frontend config("enable_struct_type" = "true");
+```
+
 一个 Struct 中的 Field 的名字和数量固定,总是为 Nullable,一个 Field 通常由下面部分组成。
 
 - field_name: Field 的标识符,不可重复


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to