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

luzhijing 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 53bf1271ec [doc](multi-catalog) column type mapping for map&struct 
types (#17591)
53bf1271ec is described below

commit 53bf1271ecaefcbc64ad87381c5c27a3f274debf
Author: Ashin Gau <[email protected]>
AuthorDate: Thu Mar 9 19:47:11 2023 +0800

    [doc](multi-catalog) column type mapping for map&struct types (#17591)
---
 docs/en/docs/lakehouse/multi-catalog/hive.md             | 2 ++
 docs/en/docs/lakehouse/multi-catalog/multi-catalog.md    | 2 +-
 docs/zh-CN/docs/lakehouse/multi-catalog/hive.md          | 2 ++
 docs/zh-CN/docs/lakehouse/multi-catalog/multi-catalog.md | 2 +-
 4 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/docs/en/docs/lakehouse/multi-catalog/hive.md 
b/docs/en/docs/lakehouse/multi-catalog/hive.md
index 8415433045..8b83e2e0be 100644
--- a/docs/en/docs/lakehouse/multi-catalog/hive.md
+++ b/docs/en/docs/lakehouse/multi-catalog/hive.md
@@ -194,4 +194,6 @@ This is applicable for Hive/Iceberge/Hudi.
 | varchar       | varchar       |                                              
     |
 | decimal       | decimal       |                                              
     |
 | `array<type>` | `array<type>` | Support nested array, such as 
`array<array<int>>` |
+| `map<KeyType, ValueType>` | `map<KeyType, ValueType>` | Not support nested 
map. KeyType and ValueType should be primitive types. |
+| `struct<col1: Type1, col2: Type2, ...>` | `struct<col1: Type1, col2: Type2, 
...>` | Not support nested struct. Type1, Type2, ... should be primitive types. 
|
 | other         | unsupported   |                                              
     |
diff --git a/docs/en/docs/lakehouse/multi-catalog/multi-catalog.md 
b/docs/en/docs/lakehouse/multi-catalog/multi-catalog.md
index 71c855afda..41c15787ba 100644
--- a/docs/en/docs/lakehouse/multi-catalog/multi-catalog.md
+++ b/docs/en/docs/lakehouse/multi-catalog/multi-catalog.md
@@ -273,7 +273,7 @@ After you create a Catalog, Doris will automatically 
synchronize the databases a
 
 <version since="dev">
 
-As for types that cannot be mapped to a Doris column type, such as `map` and 
`struct` , Doris will map them to an UNSUPPORTED type. Here are examples of 
queries in a table containing UNSUPPORTED types:
+As for types that cannot be mapped to a Doris column type, such as `UNION` and 
`INTERVAL` , Doris will map them to an UNSUPPORTED type. Here are examples of 
queries in a table containing UNSUPPORTED types:
 
 Suppose the table is of the following schema:
 
diff --git a/docs/zh-CN/docs/lakehouse/multi-catalog/hive.md 
b/docs/zh-CN/docs/lakehouse/multi-catalog/hive.md
index 650f444dad..8c7ddcbc58 100644
--- a/docs/zh-CN/docs/lakehouse/multi-catalog/hive.md
+++ b/docs/zh-CN/docs/lakehouse/multi-catalog/hive.md
@@ -187,4 +187,6 @@ CREATE CATALOG hive PROPERTIES (
 | varchar| varchar| |
 | decimal| decimal | |
 | `array<type>` | `array<type>`| 支持array嵌套,如 `array<array<int>>` |
+| `map<KeyType, ValueType>` | `map<KeyType, ValueType>` | 暂不支持嵌套,KeyType 和 
ValueType 需要为基础类型 |
+| `struct<col1: Type1, col2: Type2, ...>` | `struct<col1: Type1, col2: Type2, 
...>` | 暂不支持嵌套,Type1, Type2, ... 需要为基础类型 |
 | other | unsupported | |
diff --git a/docs/zh-CN/docs/lakehouse/multi-catalog/multi-catalog.md 
b/docs/zh-CN/docs/lakehouse/multi-catalog/multi-catalog.md
index 8554b9c49b..9234fbc4bc 100644
--- a/docs/zh-CN/docs/lakehouse/multi-catalog/multi-catalog.md
+++ b/docs/zh-CN/docs/lakehouse/multi-catalog/multi-catalog.md
@@ -275,7 +275,7 @@ under the License.
 
 <version since="dev">
 
-对于当前无法映射到 Doris 列类型的外表类型,如 map,struct 等。Doris 会将列类型映射为 UNSUPPORTED 类型。对于 
UNSUPPORTED 类型的查询,示例如下:
+对于当前无法映射到 Doris 列类型的外表类型,如 `UNION`, `INTERVAL` 等。Doris 会将列类型映射为 UNSUPPORTED 
类型。对于 UNSUPPORTED 类型的查询,示例如下:
 
 假设同步后的表 schema 为:
 


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

Reply via email to