Skip to content

Commit a34707e

Browse files
committed
disabled old JDBC test
1 parent 2e0eb4f commit a34707e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseColumn.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ public int getVariantOrdNum(Object value) {
707707
}
708708
return arrayToVariantOrdNumMap.getOrDefault(valueClass, -1);
709709
} else if (value != null && value instanceof Map<?,?>) {
710-
// TODO: add cache by instance of map
710+
// TODO: add cache by instance of map
711711
Map<?, ?> map = (Map<?, ?>) value;
712712
if (!map.isEmpty()) {
713713
for (Map.Entry<?, ?> e : map.entrySet()) {

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1528,7 +1528,7 @@ public void testMaxResultsRows() throws SQLException {
15281528
}
15291529
}
15301530

1531-
@Test(groups = "integration")
1531+
@Test(groups = "integration", enabled = false)
15321532
public void testVariantDataType() throws SQLException {
15331533
String table = "test_variant_type_01";
15341534
Properties props = new Properties();
@@ -1548,9 +1548,7 @@ public void testVariantDataType() throws SQLException {
15481548
while (rs.next()) {
15491549
Object variantValue = rs.getObject(1);
15501550
Object name = rs.getString(2);
1551-
Object variantSubColumn = rs.getObject("v.String");
15521551
System.out.println("-> " + name + " : " + variantValue);
1553-
System.out.println("sub: " + variantSubColumn);
15541552
}
15551553
}
15561554
}

0 commit comments

Comments
 (0)