Skip to content

Commit 4b06e2b

Browse files
committed
updated tests to work with new signature of StreamBinaryReader
1 parent ba935c1 commit 4b06e2b

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

client-v2/src/test/java/com/clickhouse/client/api/data_formats/internal/BinaryStreamReaderTests.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,8 @@ public void testNullableArrayValueUsesBoxedComponentType() throws Exception {
222222
null,
223223
new BinaryStreamReader.CachingByteBufferAllocator(),
224224
false,
225-
null);
225+
null,
226+
false);
226227

227228
BinaryStreamReader.ArrayValue array = (BinaryStreamReader.ArrayValue) reader.readValue(
228229
ClickHouseColumn.of("v", "Array(Nullable(Float64))"));
@@ -245,7 +246,8 @@ public void testNullableUnsignedArrayUsesWidenedType() throws Exception {
245246
null,
246247
new BinaryStreamReader.CachingByteBufferAllocator(),
247248
false,
248-
null);
249+
null,
250+
false);
249251

250252
BinaryStreamReader.ArrayValue array = (BinaryStreamReader.ArrayValue) reader.readValue(
251253
ClickHouseColumn.of("v", "Array(Nullable(UInt8))"));
@@ -268,7 +270,8 @@ public void testNullableEnumArrayUsesEnumValueType() throws Exception {
268270
null,
269271
new BinaryStreamReader.CachingByteBufferAllocator(),
270272
false,
271-
null);
273+
null,
274+
false);
272275

273276
BinaryStreamReader.ArrayValue array = (BinaryStreamReader.ArrayValue) reader.readValue(
274277
ClickHouseColumn.of("v", "Array(Nullable(Enum8('a'=1,'b'=2)))"));
@@ -299,7 +302,8 @@ private void assertEmptyArrayComponentType(String columnType, Class<?> expectedC
299302
null,
300303
new BinaryStreamReader.CachingByteBufferAllocator(),
301304
false,
302-
null);
305+
null,
306+
false);
303307

304308
BinaryStreamReader.ArrayValue array = (BinaryStreamReader.ArrayValue) reader.readValue(
305309
ClickHouseColumn.of("v", columnType));

0 commit comments

Comments
 (0)