Skip to content

Commit d63e1ce

Browse files
committed
Fixed issue with new Geometry type in old version tests
1 parent 9f1e7ef commit d63e1ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jdbc-v2/src/test/java/com/clickhouse/jdbc/metadata/DatabaseMetaDataTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ public void testFindNestedTypes() throws Exception {
479479
}
480480

481481
if (ClickHouseVersion.of(getServerVersion()).check("(,25.10]")) {
482-
assertTrue(nestedTypes.isEmpty(), "Nested types " + nestedTypes + " not found");
482+
assertEquals(nestedTypes, Arrays.asList("Geometry")); // Geometry was introduced in 25.11
483483
} else {
484484
assertEquals(nestedTypes, Arrays.asList("Object")); // Object is deprecated in 25.11
485485
}

0 commit comments

Comments
 (0)