Skip to content

Commit f97a169

Browse files
committed
fixed test
1 parent 4f68d5b commit f97a169

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jdbc-v2/src/test/java/com/clickhouse/jdbc/DataTypeTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1750,7 +1750,7 @@ public void testGeoRing() throws Exception {
17501750
stmt.executeUpdate("CREATE TABLE " + table + " (geom Ring) ENGINE = MergeTree ORDER BY ()");
17511751

17521752
try (PreparedStatement pstmt = conn.prepareStatement("INSERT INTO " + table + " VALUES (?)")) {
1753-
pstmt.setObject(1, conn.createArrayOf("Ring", row));
1753+
pstmt.setObject(1, conn.createArrayOf("Array(Point)", row));
17541754
pstmt.executeUpdate();
17551755
}
17561756

@@ -1787,7 +1787,7 @@ public void testGeoLineString() throws Exception {
17871787
stmt.executeUpdate("CREATE TABLE " + table +" (geom LineString) ENGINE = MergeTree ORDER BY ()");
17881788

17891789
try (PreparedStatement pstmt = conn.prepareStatement("INSERT INTO " + table + " VALUES (?)")) {
1790-
pstmt.setObject(1, conn.createArrayOf("LineString", row));
1790+
pstmt.setObject(1, conn.createArrayOf("Array(Point)", row));
17911791
pstmt.executeUpdate();
17921792
}
17931793

0 commit comments

Comments
 (0)