You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
New Features
[client-v2] Added option to set SNI for SSL connections. See com.clickhouse.client.api.Client.Builder.sslSocketSNI (#2467)
[client-v2, jdbc-v2] Added support for Time and Time64 data types. (#2487)
[client-v2] Added utility methods to format Instant to a DB DateTime format. See com.clickhouse.client.api.DataTypeUtils.formatInstant(java.time.Instant, com.clickhouse.data.ClickHouseDataType) (#2501, #2456)
Improvements
[client-v2] Improved exceptions and error handling. The com.clickhouse.client.api.ClickHouseException became a root for ServerException and ClientException. com.clickhouse.client.api.ClickHouseException.isRetryable is added to determine if
exception caused in a retriable state. It means that catching such exception application may repeat operation to fix a
problem. (#2453)
[client-v2] Improved configuration handling. (#2470)
[client-v2] Custom type hint for the client to make Reader and GenericRecord return specific types. For example,
collection instead of Array. (#2476)
[client-v2] Added default port for HTTP and improved endpoint string validation - only one allowed. (#2489)
[client-v2] Fixed metrics to be parsed as Long to avoid integer overflow. Especially for elapsed time in nanos. (#2465)
[client-v2] Fixed a bug with passing some server settings from JDBC to the Client. (#2359)
[jdbc-v2] Fixed DatabaseMetadata to return correct column type. (#2475)
[jdbc-v2] Fixed problem with JDBC URL when Database names that include dash - were parsed wrong. (#2463)
[jdbc-v2] Fixed problem with nested arrays. Previously ArrayValue object was returned as element of a nested array.
After the fix array values contain primitive types. (#2464, #2340)
[jdbc-v2] Fixed JDBC Connection's isValid method returning true all the time. (#2472)
[client-v2] Fixed problem with not closed response object when exception happens. That fixes connections leaking. (#1741)
[jdbc-v2] Fixed a set of issue in StatementImpl. (#2414)
[jdbc-v2] Fixed a set of issues in PreparedStatementImpl. (#2418)