File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
jdbc-v2/src/test/java/com/clickhouse/jdbc Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments