apache / doris-flink-connector

Flink Connector for Apache Doris
https://doris.apache.org/
Apache License 2.0
292 stars 201 forks source link

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

Closed huyuanfeng2018 closed 1 month ago

huyuanfeng2018 commented 2 months ago

Search before asking

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?

Code of Conduct

huyuanfeng2018 commented 2 months ago

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