New Components
jdbc-v2- pre-release version of upcomingclickhouse-jdbcreplacement. Supports basic functionality, works only withclient-v2.
More information will be available after its release
Highlights
- [repo] Added shaded packages with requires a set of dependencies. Use
allclassified forclient-v2full package.
Useshaded-allfor old jdbc driver. - [client-v2] New Data Writer API was added. It allows to gain a control over writing data to low-level output stream.
This API makes it possible to write compressed data directly to server. Seecom.clickhouse.client.api.Client#insert(java.lang.String, com.clickhouse.client.api.DataStreamWriter, com.clickhouse.data.ClickHouseFormat, com.clickhouse.client.api.insert.InsertSettings)
(#2034)
New Features
- [client-v2] Added ability to specify client name. It means
User-Agentwill be filled with proper information (#1948) - [client-v2] Implemented statement parameters for
queryAllandqueryRecordsAPI methods. (#1979) - [client-v2] Implemented string to number conversion. (#2014)
- [client-v1] Added basic auth support for proxies. Now you can specify username/password when connecting via a proxy that requires it with HttpURLConnection and Apache HttpClient.
- [client-v2] Enum columns can be read as string and number. Previously only as number. Now number matching string constant is returned when get as string. (#2028)
- [client-v2] Client will load some server context (timezone, user) right after build. (#2029)
Bug Fixes
- [jdbc] Fixed default value for
result_overflow_modesetting. (#1932) - [client-v2] Fixed reading float/double values. Previously was prevented by incorrect overflow check. (#1954)
- [client-v2] Fixed issue with enabling client compression. Previously flag was ignore in some cases. (#1958)
- [client-v2] Fixed issue with reading
Array(UInt64)because of incorrect class used to create internal array. (#1990) - [client-v2] Fixed ClickHouseLZ4OutputStream issue of sending empty frame when no data left in uncompressed buffer. (#1993)
- [client-v2] Fix handling
ConnectTimeoutExceptionin retry and wrapping logic. (#2015)