Skip to content

Release v0.9.2

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 05 Sep 16:21
· 60 commits to main since this release
84c080b

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 and com.clickhouse.jdbc.DriverProperties moved to public
    API. (#2521)
  • [jdbc-v2] Implemented isBeforeFirst, isAfterLast, isFirst, isLast methods for ResultSet and ResultSetMetaData.
    Improved test coverage for ResultSetImpl. (#2530)
  • [jdbc-v2] Implemented createArray and createStruct methods for Connection interface. Method createStruct
    should be used to create Tuple values and createArray to create various arrays. (#2523)
  • [jdbc-v2] Implemented setNetworkTimeout of Connection 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 of Connection 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)