yuxiqian opened a new pull request, #3636: URL: https://github.com/apache/flink-cdc/pull/3636
This closes FLINK-36474. For now, it's not possible to merge timestamp-family data (including `Timestamp`, `ZonedTimestamp`, and `LocalZonedTimestamp`) unless some awkward transform and explicit casting. This PR adds the following type coercions: * `TIME`s, `TIMESTAMP`s, `TIMESTAMP_TZ`s, and `TIMESTAMP_LTZ`s with promoted precision For example, `TIMESTAMP(3)` and `TIMESTAMP(6)` will be considered compatible and data with lower precision will be automatically escalated to the higher one. * `TIMESTAMP_TZ`s and `TIMESTAMP_LTZ`s will be converted to `TIMESTAMP` if necessary. I reused some code from `SystemFunctionUtils#castToTimestamp`, so this implicit behavior should be equivalent to writing explicit castings manually. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org