This is an automated email from the ASF dual-hosted git repository. kxiao pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/doris.git
commit 8ac118c9fd543ffa59bde3e949859cfd147696c0 Author: yagagagaga <zhangminkefromflyd...@gmail.com> AuthorDate: Fri Jul 21 16:37:51 2023 +0800 [typo](docs) fix some mistake in Doris & Spark Column Type Mapping (#19998) --- docs/en/docs/ecosystem/spark-doris-connector.md | 8 +++----- docs/zh-CN/docs/ecosystem/spark-doris-connector.md | 7 +++---- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/docs/en/docs/ecosystem/spark-doris-connector.md b/docs/en/docs/ecosystem/spark-doris-connector.md index e812939ba4..32b337dba7 100644 --- a/docs/en/docs/ecosystem/spark-doris-connector.md +++ b/docs/en/docs/ecosystem/spark-doris-connector.md @@ -305,15 +305,13 @@ kafkaSource.selectExpr("CAST(key AS STRING)", "CAST(value as STRING)") | DOUBLE | DataTypes.DoubleType | | DATE | DataTypes.StringType<sup>1</sup> | | DATETIME | DataTypes.StringType<sup>1</sup> | -| BINARY | DataTypes.BinaryType | | DECIMAL | DecimalType | | CHAR | DataTypes.StringType | | LARGEINT | DataTypes.StringType | | VARCHAR | DataTypes.StringType | -| DECIMALV2 | DecimalType | +| DECIMAL | DecimalType | | TIME | DataTypes.DoubleType | | HLL | Unsupported datatype | +| Bitmap | Unsupported datatype | -* Note: In Connector, `DATE` and` DATETIME` are mapped to `String`. Due to the processing logic of the Doris underlying - storage engine, when the time type is used directly, the time range covered cannot meet the demand. So use `String` - type to directly return the corresponding time readable text. +* Note: In Connector, `DATE` and` DATETIME` are mapped to `String`. Due to the processing logic of the Doris underlying storage engine, when the time type is used directly, the time range covered cannot meet the demand. So use `String` type to directly return the corresponding time readable text. diff --git a/docs/zh-CN/docs/ecosystem/spark-doris-connector.md b/docs/zh-CN/docs/ecosystem/spark-doris-connector.md index b9f580f24a..23c24bde7f 100644 --- a/docs/zh-CN/docs/ecosystem/spark-doris-connector.md +++ b/docs/zh-CN/docs/ecosystem/spark-doris-connector.md @@ -309,14 +309,13 @@ kafkaSource.selectExpr("CAST(key AS STRING)", "CAST(value as STRING)") | DOUBLE | DataTypes.DoubleType | | DATE | DataTypes.StringType<sup>1</sup> | | DATETIME | DataTypes.StringType<sup>1</sup> | -| BINARY | DataTypes.BinaryType | | DECIMAL | DecimalType | | CHAR | DataTypes.StringType | | LARGEINT | DataTypes.StringType | | VARCHAR | DataTypes.StringType | -| DECIMALV2 | DecimalType | +| DECIMAL | DecimalType | | TIME | DataTypes.DoubleType | | HLL | Unsupported datatype | +| Bitmap | Unsupported datatype | -* 注:Connector中,将`DATE`和`DATETIME`映射为`String`。由于`Doris`底层存储引擎处理逻辑,直接使用时间类型时,覆盖的时间范围无法满足需求。所以使用 `String` 类型直接返回对应的时间可读文本。 - +* 注:Connector 中,将`DATE`和`DATETIME`映射为`String`。由于`Doris`底层存储引擎处理逻辑,直接使用时间类型时,覆盖的时间范围无法满足需求。所以使用 `String` 类型直接返回对应的时间可读文本。 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org