Skip to content

Commit 4d3351e

Browse files
authored
[FLINK-36303] Fix the CI failure after PostgreSQL timestamp precision 0 is supported (#172)
1 parent 319962c commit 4d3351e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

flink-connector-jdbc-cratedb/src/test/java/org/apache/flink/connector/jdbc/cratedb/database/dialect/CrateDBDialectTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ protected List<TestItem> testData() {
5151
createTestItem("BINARY", "The CrateDB dialect doesn't support type: BINARY(1)."),
5252
createTestItem(
5353
"TIMESTAMP(9) WITHOUT TIME ZONE",
54-
"The precision of field 'f0' is out of the TIMESTAMP precision range [1, 6] supported by CrateDB dialect."),
54+
"The precision of field 'f0' is out of the TIMESTAMP precision range [0, 6] supported by CrateDB dialect."),
5555
createTestItem("TIMESTAMP_LTZ(3)", "Unsupported type:TIMESTAMP_LTZ(3)"));
5656
}
5757
}

flink-connector-jdbc-postgres/src/test/java/org/apache/flink/connector/jdbc/postgres/database/dialect/PostgresDialectTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ protected List<TestItem> testData() {
5959
"The PostgreSQL dialect doesn't support type: VARBINARY(10)."),
6060
createTestItem(
6161
"TIMESTAMP(9) WITHOUT TIME ZONE",
62-
"The precision of field 'f0' is out of the TIMESTAMP precision range [1, 6] supported by PostgreSQL dialect."),
62+
"The precision of field 'f0' is out of the TIMESTAMP precision range [0, 6] supported by PostgreSQL dialect."),
6363
createTestItem("TIMESTAMP_LTZ(3)", "Unsupported type:TIMESTAMP_LTZ(3)"));
6464
}
6565

0 commit comments

Comments
 (0)