-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] 无法将datetime类型数据转换成日期格式 #200
Comments
Thanks for your suggestion, there are some incompatibilities between spark2 and spark3, we are working on fixing this issue. |
Would it be possible to add a parameter that allows users to choose whether to convert datetime to timestamp? In Spark, using string-type dates can sometimes cause confusion and require additional conversion steps for users. |
For the current code structure, all functions are |
Nice! Has the refactored code been merged already? I would be happy to contribute code for this optimization. |
我也遇到同样的问题了,目前我临时的解决办法是调整了部分代码,rowBatch处理的时候把datetimev2转为timestamp, |
👍!我目前也是通过修改源码做了支持!期望你的代码能够合并进去 |
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
The text was updated successfully, but these errors were encountered: