doris-flink-connector icon indicating copy to clipboard operation
doris-flink-connector copied to clipboard

[Bug] The `DorisTypeMapper` datetime type will lose precision when converted to flink type

Open huyuanfeng2018 opened this issue 9 months ago • 1 comments

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

huyuanfeng2018 avatar May 07 '24 03:05 huyuanfeng2018

image 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

huyuanfeng2018 avatar May 07 '24 03:05 huyuanfeng2018