tchivs commented on code in PR #4530:
URL: https://github.com/apache/flink-cdc/pull/4530#discussion_r4140719574
##########
flink-cdc-composer/src/test/java/org/apache/flink/cdc/composer/flink/FlinkPipelineTransformITCase.java:
##########
@@ -3072,7 +3072,7 @@ void testDateAndTimeCastingFunctions() throws Exception {
assertThat(outputEvents)
.containsExactlyInAnyOrder(
"CreateTableEvent{tableId=default_namespace.default_schema.my_table,
schema=columns={`id` INT NOT NULL,`date_0` DATE,`time_0` TIME(0),`time_3`
TIME(3),`time_6` TIME(6),`time_9` TIME(9),`date_0_str` STRING,`time_0_str`
STRING,`time_3_str` STRING,`time_6_str` STRING,`time_9_str` STRING},
primaryKeys=id, options=()}",
-
"DataChangeEvent{tableId=default_namespace.default_schema.my_table, before=[],
after=[1, 1999-12-31, 21:48:25, 21:48:25.123, 21:48:25.123, 21:48:25.123,
1999-12-31, 21:48:25, 21:48:25.123, 21:48:25.123, 21:48:25.123], op=INSERT,
meta=()}",
+
"DataChangeEvent{tableId=default_namespace.default_schema.my_table, before=[],
after=[1, 1999-12-31, 21:48:25, 21:48:25.123, 21:48:25.123456,
21:48:25.123456789, 1999-12-31, 21:48:25, 21:48:25.123, 21:48:25.123456,
21:48:25.123456789], op=INSERT, meta=()}",
Review Comment:
Added: TIME(0)/TIME(3)/TIME(6)/TIME(9) columns are projected, reordered and
routed, with per-precision assertions.
--
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]