flink-cdc icon indicating copy to clipboard operation
flink-cdc copied to clipboard

[mysql] Use local timezone as the default server timezone

Open kylemeow opened this issue 3 years ago • 3 comments

Due to the issue mentioned in https://github.com/ververica/flink-cdc-connectors/issues/1406, Flink CDC Connectors might treat Timestamp fields with different behaviors during snapshot and streaming phases.

Here I propose changing the default value of server-time-zone to local timezone so that most users would not need to manually set timezone to get the correct results.

kylemeow avatar Jul 26 '22 08:07 kylemeow

Spotless failed. It seems you should run mvn spotless:apply and push the diff :)

tisonkun avatar Jul 26 '22 09:07 tisonkun

OracleE2eITCase.testOracleCDC failed, but it seems unrelated to the changes made.

kylemeow avatar Jul 26 '22 12:07 kylemeow

OracleE2eITCase.testOracleCDC failed, but it seems unrelated to the changes made.

@kylemeow Thanks for the contribution, I've fixed the test, could you rebase master and try again?

leonardBang avatar Jul 28 '22 12:07 leonardBang