doris-flink-connector
doris-flink-connector copied to clipboard
[Bug] The `DorisTypeMapper` datetime type will lose precision when converted to flink type
Search before asking
- [X] I had searched in the issues and found no similar issues.
Version
master
What's Wrong?
The field type of my doris table is datetime at the millisecond level, but when I use flink doris catalog, the writing will only be at the second level.
What You Expected?
The types should correspond
How to Reproduce?
No response
Anything Else?
no
Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
The confusing thing is that the precision value is 0. I think there is some problem with whether doris handles metadata. Here is another issue:
https://github.com/apache/doris/issues/34437