You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "JNSimba (via GitHub)" <gi...@apache.org> on 2023/06/12 13:42:39 UTC

[GitHub] [doris] JNSimba commented on a diff in pull request #19998: [typo](docs) fix some mistake in Doris & Spark Column Type Mapping

JNSimba commented on code in PR #19998:
URL: https://github.com/apache/doris/pull/19998#discussion_r1203722636


##########
docs/zh-CN/docs/ecosystem/spark-doris-connector.md:
##########
@@ -270,14 +270,18 @@ 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                      |
 | TIME       | DataTypes.DoubleType             |
 | HLL        | Unsupported datatype             |
+| Bitmap     | Unsupported datatype             |
+| DATEV2     | DataTypes.StringType<sup>2</sup> |
+| DATETIMEV2 | DataTypes.StringType<sup>2</sup> |
+| DECIMALV3  | DecimalType<sup>2</sup>          |
 
-* 注:Connector中,将`DATE`和`DATETIME`映射为`String`。由于`Doris`底层存储引擎处理逻辑,直接使用时间类型时,覆盖的时间范围无法满足需求。所以使用 `String` 类型直接返回对应的时间可读文本。
+* 注1:Connector 中,将`DATE`和`DATETIME`映射为`String`。由于`Doris`底层存储引擎处理逻辑,直接使用时间类型时,覆盖的时间范围无法满足需求。所以使用 `String` 类型直接返回对应的时间可读文本。
+* 注2:Connector 中,`DATEV2`、`DATETIMEV2`和`DECIMALV3`会在 Doris 2.0 及以上版本支持,对于 2.0 以下的版本,目前没有支持的计划。

Review Comment:
   Reading is supported above 2.0, and writing to 1.2 is also possible



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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