Skip to content

Commit 09177c8

Browse files
committed
fix wrong array type for tuple
1 parent 1aa6fe1 commit 09177c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

client-v2/src/main/java/com/clickhouse/client/api/data_formats/internal/BinaryStreamReader.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,8 @@ public static class ArrayValue {
559559
try {
560560
if (itemType.isArray()) {
561561
array = Array.newInstance(ArrayValue.class, length);
562+
} else if (itemType == List.class) {
563+
array = Array.newInstance(Object[].class, length);
562564
} else {
563565
array = Array.newInstance(itemType, length);
564566
}

0 commit comments

Comments
 (0)