DataLinkDC / dinky

Dinky is a real-time data development platform based on Apache Flink, enabling agile data development, deployment and operation.
http://www.dinky.org.cn
Apache License 2.0
2.92k stars 1.07k forks source link

Date cannot be converted to format #3609

Open ljs033 opened 1 week ago

ljs033 commented 1 week ago

Search before asking

What happened

微信截图_20240621154403 如何正确的使用日期转换器进行转换?

What you expected to happen

DATE类型无法显示为yyyy-MM-dd,TIMESTAMP类型无法显示为yyyy-MM-dd HH:mm:ss.SSS

How to reproduce

在代码中引用转换器 'debezium.converters'='dinkyDateConverter', 'debezium.dinkyDateConverter.type'='org.dinky.cdc.debezium.converter.OracleDebeziumConverter', 'debezium.dinkyDateConverter.database.type'='oracle', 'debezium.dinkyDateConverter.format.date'='yyyy-MM-dd', 'debezium.dinkyDateConverter.format.timestamp'='yyyy-MM-dd HH:mm:ss.SSS',

Anything else

No response

Version

dev

Are you willing to submit PR?

Code of Conduct

aiwenmo commented 1 week ago

Data preview did not handle special types.

ljs033 commented 6 days ago

插入目标表显示的也是一串数字,而不是日期格式化的,不只是在查询预览中

Data preview did not handle special types.