apache / doris-spark-connector

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

[Bug] 无法将datetime类型数据转换成日期格式 #200

Open weilai201 opened 3 months ago

weilai201 commented 3 months ago

Search before asking

Version

1.3.1

What's Wrong?

doris-spark-connector无法将doris库中datetime类型数据在spark中转换为java Date或timestamp类型。目前统一转换为String类型,对于使用非常不方便!

What You Expected?

doris中的datetime类型转换为java中的Date或Timestamp类型

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

Code of Conduct

gnehil commented 3 weeks ago

Thanks for your suggestion, there are some incompatibilities between spark2 and spark3, we are working on fixing this issue.