Closed chernser closed 2 weeks ago
Failed conditions
60.5% Coverage on New Code (required ≥ 80%)
I do not see tests that enable the flag
client_allow_binary_reader_to_reuse_buffers
I've added client-v2/src/test/java/com/clickhouse/client/query/BinaryReadyReusesBuffersTests.java
that overrides QueryTests
and sets client_allow_binary_reader_to_reuse_buffers
Summary
A lot small buffers may be allocated while reading numeric information. This PR implements a reusing buffers withing a reader. It is not a default behavior. Introduced
Client.Builder#allowBinaryReaderToReuseBuffers
to control the behaviorNote:
Checklist
Delete items not relevant to your PR: