Deprecations
- Following components will be deprecated and removed in 0.7.0 release:
- clickhouse-cli-client
- clickhouse-grpc-client
- Projects cli-client and grpc-client are excluded from release and build.
- No more builds for non-lts Java versions - no more Java 9 release builds.
Performance Improvements
- [client-v2]
queryAll()optimized to use less memory (#1779) - [client-v2]
Client.Builder#setClientNetworkBufferSizeintroduced to allow increasing a buffer that is used
to transfer data from socket buffer to application memory. When set to >= of send/receive socket buffer size it
significantly reduces number of system calls and improves performance. (#1784)
New Features
- [client-v2] Client will retry on
NoHttpResponseExceptionwhen using Apache HTTP client.
It is useful when close/stale connection is leased from connection pool. No client will
retry one more time instead of failing.Client.Builder#retryOnFailuresandClient.Builder#setMaxRetrieswere
introduced to configure client behavior. (#1768)
Bug Fixes
- [client-v2] Correct timezone used when reading DateTime values. Affects how date/datetime values
are read whensession_timezoneis used (#1780) - [client-v2] Fix reading big integers. Previously was causing incorrect values
(#1786)
(#1776) - [client-v2] Fix server compressions when using a client instance concurrently
(#1791) - [client-v2] Fix reading arrays as list. Also affected reading nested arrays (#1800)
- [client-v1] Fix handling summary metadata for write operations. Previously was causing empty metadata