czy006 opened a new pull request, #3240:
URL: https://github.com/apache/flink-cdc/pull/3240

   Currently, Flink CDC Time encounters time type errors (including DateTime, 
Time, Date, TimeStamp) when using MySQL Connector 
(JsonDebeziumDeserializationSchema) as deserialization, and the converted time 
is wrong. The essential reason is that the timestamp returned by the bottom 
layer of debezium is UTC (such as io.debezium.time.Timestamp). The community 
has already had some 
[PR](https://github.com/apache/flink-cdc/pull/1366/files#diff-e129e9fae3eea0bb32f0019debb4932413c91088d6dae656e2ecb63913badae4),
 but they are not work.
   
   Now a way is provided to provide a solution based on Debezium's custom 
Convert interface 
(https://debezium.io/documentation/reference/1.9/development/converters.html),
   Users can choose to convert the above four time types into STRING according 
to the specified time format to ensure that users can correctly convert JSON 
when using the Flink DataStream API.This PR:


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to