Skip to content

Commit edfc467

Browse files
committed
removed test from old client
1 parent f97a169 commit edfc467

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

clickhouse-jdbc/src/test/java/com/clickhouse/jdbc/ClickHouseStatementTest.java

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1555,36 +1555,4 @@ public void testVariantDataType() throws SQLException {
15551555
}
15561556
}
15571557
}
1558-
1559-
@Test(groups = "integration")
1560-
public void testSpatialData() {
1561-
final String spatialQuery = "select \n" +
1562-
"\tcast(arrayJoin([(4.837388, 52.38795),\n" +
1563-
"\t\t\t(4.951513, 52.354582),\n" +
1564-
"\t\t\t(4.961987, 52.371763),\n" +
1565-
"\t\t\t(4.870017, 52.334932),\n" +
1566-
"\t\t\t(4.89813, 52.357238),\n" +
1567-
"\t\t\t(4.852437, 52.370315),\n" +
1568-
"\t\t\t(4.901712, 52.369567),\n" +
1569-
"\t\t\t(4.874112, 52.339823),\n" +
1570-
"\t\t\t(4.856942, 52.339122),\n" +
1571-
"\t\t\t(4.870253, 52.360353)]\n" +
1572-
"\t\t\t)\n" +
1573-
"\t\tas Point) as Point";
1574-
try (ClickHouseConnection conn = newConnection();
1575-
ClickHouseStatement stmt = conn.createStatement()) {
1576-
ResultSet rs = stmt.executeQuery(spatialQuery);
1577-
rs.next();
1578-
ResultSetMetaData metaData = rs.getMetaData();
1579-
String columnTypeName = metaData.getColumnTypeName(1);
1580-
int columnType = metaData.getColumnType(1);
1581-
Array asArray = rs.getArray(1);
1582-
Object asObject = rs.getObject(1);
1583-
String asString = rs.getString(1);
1584-
Assert.assertEquals(metaData.getColumnCount(), 7);
1585-
} catch (Exception e) {
1586-
e.printStackTrace();
1587-
Assert.fail("Failed to create connection", e);
1588-
}
1589-
}
15901558
}

0 commit comments

Comments
 (0)