You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-mysql/src/test/java/com/ververica/cdc/connectors/mysql/source/MySqlFullTypesITCase.java
+34-24Lines changed: 34 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,7 @@
45
45
importjava.math.BigDecimal;
46
46
importjava.sql.Connection;
47
47
importjava.sql.Statement;
48
+
importjava.sql.Timestamp;
48
49
importjava.time.Instant;
49
50
importjava.time.ZoneId;
50
51
importjava.util.Arrays;
@@ -118,6 +119,7 @@ public void testMysql57TimeDataTypes() throws Throwable {
118
119
DataTypes.TIMESTAMP(0),
119
120
DataTypes.TIMESTAMP(3),
120
121
DataTypes.TIMESTAMP(6),
122
+
DataTypes.TIMESTAMP_LTZ(0),
121
123
DataTypes.TIMESTAMP_LTZ(0));
122
124
123
125
Object[] expectedSnapshot =
@@ -131,10 +133,11 @@ public void testMysql57TimeDataTypes() throws Throwable {
131
133
// Because Flink's BinaryWriter force write int value for TIME(6).
Copy file name to clipboardExpand all lines: flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-mysql/src/test/java/com/ververica/cdc/connectors/mysql/source/MySqlMetadataAccessorITCase.java
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -130,6 +130,7 @@ public void testMysql57AccessTimeTypesSchema() {
130
130
DataTypes.TIMESTAMP(0),
131
131
DataTypes.TIMESTAMP(3),
132
132
DataTypes.TIMESTAMP(6),
133
+
DataTypes.TIMESTAMP_LTZ(0),
133
134
DataTypes.TIMESTAMP_LTZ(0)
134
135
},
135
136
newString[] {
@@ -142,7 +143,8 @@ public void testMysql57AccessTimeTypesSchema() {
Copy file name to clipboardExpand all lines: flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-mysql/src/test/resources/ddl/column_type_test.sql
Copy file name to clipboardExpand all lines: flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-mysql/src/test/resources/ddl/column_type_test_mysql8.sql
Copy file name to clipboardExpand all lines: flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/event/DebeziumSchemaDataTypeInference.java
0 commit comments