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 5351153b04 [doc](fix)Modified the description about trino #20174
5351153b04 is described below
commit 5351153b04c9bcca8a08a02bd97777748f43cc26
Author: bingquanzhao <[email protected]>
AuthorDate: Tue May 30 13:14:45 2023 +0800
[doc](fix)Modified the description about trino #20174
---
docs/en/docs/lakehouse/multi-catalog/jdbc.md | 4 ++--
docs/zh-CN/docs/lakehouse/multi-catalog/jdbc.md | 32 ++++++++++++-------------
2 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/docs/en/docs/lakehouse/multi-catalog/jdbc.md
b/docs/en/docs/lakehouse/multi-catalog/jdbc.md
index 3f7c72ee10..6c02f5ac0c 100644
--- a/docs/en/docs/lakehouse/multi-catalog/jdbc.md
+++ b/docs/en/docs/lakehouse/multi-catalog/jdbc.md
@@ -472,8 +472,8 @@ The transaction mechanism ensures the atomicity of data
writing to JDBC External
| decimal |
DECIMAL/DECIMALV3/STRING | The Data type is based on the DECIMAL field's
(precision, scale) and the `enable_decimal_conversion` configuration |
| real | FLOAT
|
|
| double | DOUBLE
|
|
-| date | DATE/DATEV2
| JDBC CATLOG uses Datev2 type default when connecting Trino
|
-| timestamp | DATETIME/DATETIMEV2
| JDBC CATLOG uses DATETIMEV2 type default when connecting Trino
|
+| date | DATE/DATEV2
| JDBC CATALOG uses Datev2 type default when connecting Trino
|
+| timestamp | DATETIME/DATETIMEV2
| JDBC CATALOG uses DATETIMEV2 type default when connecting Trino
|
| varchar | TEXT
|
|
| char | CHAR
|
|
| <version since="dev" type="inline"> array </version> | ARRAY
| Array internal basic type adaptation logic refers to the preceding types.
Nested types are not supported |
diff --git a/docs/zh-CN/docs/lakehouse/multi-catalog/jdbc.md
b/docs/zh-CN/docs/lakehouse/multi-catalog/jdbc.md
index f93eb6f8e4..cc53edec26 100644
--- a/docs/zh-CN/docs/lakehouse/multi-catalog/jdbc.md
+++ b/docs/zh-CN/docs/lakehouse/multi-catalog/jdbc.md
@@ -460,22 +460,22 @@ set enable_odbc_transcation = true;
### Trino/Presto
-| Trino Type | Doris Type
| Comment |
-|------------------------------------------------------|--------------------------|---------------------------------------------------------------------------|
-| boolean | BOOLEAN
| |
-| tinyint | TINYINT
| |
-| smallint | SMALLINT
| |
-| integer | INT
| |
-| bigint | BIGINT
| |
-| decimal |
DECIMAL/DECIMALV3/STRING | 将根据Doris DECIMAL字段的(precision,
scale)和`enable_decimal_conversion`开关选择用何种类型|
-| real | FLOAT
| |
-| double | DOUBLE
| |
-| date | DATE/DATEV2
| Jdbc Catlog连接Trino时默认使用DATEV2类型 |
-| timestamp | DATETIME/DATETIMEV2
| Jdbc Catlog连接Trino时默认使用DATETIMEV2类型 |
-| varchar | TEXT
| |
-| char | CHAR
| |
-| <version since="dev" type="inline"> array </version> | ARRAY
| Array内部类型适配逻辑参考上述类型,不支持嵌套类型 |
-| others | UNSUPPORTED
| |
+| Trino Type | Doris Type
| Comment
|
+|------------------------------------------------------|--------------------------|----------------------------------------------------------------------------|
+| boolean | BOOLEAN
|
|
+| tinyint | TINYINT
|
|
+| smallint | SMALLINT
|
|
+| integer | INT
|
|
+| bigint | BIGINT
|
|
+| decimal |
DECIMAL/DECIMALV3/STRING | 将根据Doris DECIMAL字段的(precision,
scale)和`enable_decimal_conversion`开关选择用何种类型 |
+| real | FLOAT
|
|
+| double | DOUBLE
|
|
+| date | DATE/DATEV2
| Jdbc Catalog连接Trino时默认使用DATEV2类型
|
+| timestamp | DATETIME/DATETIMEV2
| Jdbc Catalog连接Trino时默认使用DATETIMEV2类型
|
+| varchar | TEXT
|
|
+| char | CHAR
|
|
+| <version since="dev" type="inline"> array </version> | ARRAY
| Array内部类型适配逻辑参考上述类型,不支持嵌套类型
|
+| others | UNSUPPORTED
|
|
**注意:**
目前仅针对Trino连接的Hive做了测试,其他的Trino连接的数据源暂时未测试。
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
