Important
There is a new artifact clickhouse-jdbc-0.9.2-all-dependencies.jar. This include all dependencies shaded even public APIs like slf4j. It may be a problem when integration with application needed thru such interfaces.
Improvements
- [jdbc-v2] Classes
com.clickhouse.jdbc.ClientInfoProperties
andcom.clickhouse.jdbc.DriverProperties
moved to public
API. (#2521) - [jdbc-v2] Implemented
isBeforeFirst
,isAfterLast
,isFirst
,isLast
methods forResultSet
andResultSetMetaData
.
Improved test coverage forResultSetImpl
. (#2530) - [jdbc-v2] Implemented
createArray
andcreateStruct
methods forConnection
interface. MethodcreateStruct
should be used to createTuple
values andcreateArray
to create various arrays. (#2523) - [jdbc-v2] Implemented
setNetworkTimeout
ofConnection
interface. Used to fail fast when network operation fails. Related to
stale connection problem. (#2522) - [client-v2] Added support for JSON with predefined paths. Previously columns with definition like
JSON(a string, b.c Int32)
were not supported. (#2531)
Bug Fixes
- [jdbc-v2] Fixed issue creating array of tuples with
createArray
method ofConnection
interface.
(#2360) - [jdbc-v2] Fixed issue with reading nested arrays. (#2539)
- [jdbc-v2] Fixed issue with not shaded antlr4-runtime dependency. Potential problem for Apache Spark users. (#2553)
- [jdbc-v2] Fixed issue with parsing CTE for prepared statement. (#2551)
- [jdbc-v2] Fixed issue with parsing SQL containing view parameters. (#2547)
- [jdbc-v2] Fixed issue with
InsertSettings
when two concurrent insert operations sharing same settings object may be insert
wrong columns or to a wrong table. (#2550) - [jdbc-v2] Fixed issue with batch insert when it is not cleared after execution. Now batch is cleared after execution even on failure. (#2548)
- [jdbc-v2] Fixed
DatabaseMetadataImpl
to return result set with defined by spec structure. Resolves issue for many database tools
relying on metadata. (#2396) - [jdbc-v2] Fixed
DatabaseMetadataImpl
to return empty result set where appropriate. (#2517) - [jdbc-v2] Fixed issue with verbose logging. (#2148)
- [client-v2] Fixed issue with reading JSON with predefined paths. (#2462)