apache / doris-spark-connector

Spark Connector for Apache Doris
https://doris.apache.org/
Apache License 2.0
83 stars 98 forks source link

[Bug] #208

Closed yongjinhou closed 4 months ago

yongjinhou commented 5 months ago

Search before asking

Version

doris 1.2 spark 3.2 spark-doris-connector 1.3.1

What's Wrong?

spark通过connector读取doris中的数据。 如果doris的表包含daev2类型字段,写入数据正常,而读取数据报错:

image

将datev2类型改为date后,读取数据正常。

What You Expected?

正常读取数据

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

Code of Conduct

gnehil commented 4 months ago

Doris version 1.2 does not support datev2 type serialization, so the spark connector cannot read this type of data. Please upgrade to version 2.0 and above or change the column type to date