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