Skip to content

Release v0.7.2

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 31 Dec 06:07
· 4 commits to main since this release
33b1fad

New Components

  • jdbc-v2 - pre-release version of upcoming clickhouse-jdbc replacement. Supports basic functionality, works only with client-v2.
    More information will be available after its release

Highlights

  • [repo] Added shaded packages with requires a set of dependencies. Use all classified for client-v2 full package.
    Use shaded-all for 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. See com.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-Agent will be filled with proper information (#1948)
  • [client-v2] Implemented statement parameters for queryAll and queryRecords API 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_mode setting. (#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 ConnectTimeoutException in retry and wrapping logic. (#2015)