Skip to content

build(deps-dev): bump com.clickhouse:clickhouse-jdbc from 0.9.6 to 0.11.2 - #4577

Draft
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/maven/com.clickhouse-clickhouse-jdbc-0.11.2
Draft

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/maven/com.clickhouse-clickhouse-jdbc-0.11.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 17, 2026

Copy link
Copy Markdown
Contributor

Bumps com.clickhouse:clickhouse-jdbc from 0.9.6 to 0.11.2.

Release notes

Sourced from com.clickhouse:clickhouse-jdbc's releases.

Release v0.11.2 (2026-11-13)

Bug Fixes

Release v0.11.1 (2026-11-09)

Bug Fixes

  • [client-v2] Fixed INSERT failing with LZ4Exception: maxDestLen is too small (LZ4) or ZstdException: Destination buffer is too small (ZSTD) when request compression is enabled (compressClientRequest(true)) and a 64 KiB block of the data does not compress, for example random bytes. The compressed output buffer was as large as the uncompressed block, but such a block grows when it is compressed. The buffer is now sized with the worst-case bound of the codec (LZ4Compressor.maxCompressedLength, Zstd.compressBound). The bug was introduced in 0.11.0. (ClickHouse/clickhouse-java#3302)

Release v0.11.0 (21 Oct 2026)

Release Migration Guide

Breaking changes

  • [client-v2, jdbc-v2] The socket buffer options socket_rcvbuf and socket_sndbuf have no default value anymore. Now the options are applied only when the application sets them (Client.Builder#setSocketRcvbuf, Client.Builder#setSocketSndbuf, or the properties of the same name). This is done to let OS TCP Stack auto-tune values. Do not set them until absolutely needed. (ClickHouse/clickhouse-java#3121)

  • [client-v2, jdbc-v2] Server error 159 (TIMEOUT_EXCEEDED) is not retried by default anymore. It has its own retry cause, ClientFaultCause.ServerTimeoutExceeded, which ServerRetryable does not include and which is not in the default client_retry_on_failures list. Add ServerTimeoutExceeded to the list to retry this error. (ClickHouse/clickhouse-java#3072)

  • [r2dbc] Pre 1.0.0 artifact is not supported anymore because R2DBC API reached stable 1.0.0 version.

  • [jdbc-v2] DatabaseMetaData#getTables now returns null in REMARKS (table comment) and TYPE_SCHEM by default, because metadata is read with SHOW statements (see the jdbc_metadata_use_show_statements entry in New Features). Set jdbc_metadata_use_show_statements=false to get the table comments. (ClickHouse/clickhouse-java#2907)

  • [client-v2,jdbc-v2] Added ZSTD compression support for Block compression stream and used by default not to compress client requests. Previously only LZ4 was supported in this case. Note: Added ZSTD library and native libraries to -all JDBC package because it is now required to work with server. (ClickHouse/clickhouse-java#3105).

  • [client-v2, jdbc-v2] The User-Agent header now uses the standard ClickHouse client format, <client name> clickhouse-java-v2/<version> (lv:java/<java.version>; os:<os.name>; hc:ahc_<version>): jvm:<version> is now lv:java/<version>, the OS is the os: entry, and the trailing Apache-HttpClient/<version> is replaced by the hc:ahc_<version> entry (the Apache HttpClient version that the

... (truncated)

Commits
  • a00a479 Merge pull request #3343 from ClickHouse/11/13/26_revert_2920
  • 2ba88e1 Added more tests
  • 5d6358f reverted to old logic.
  • d204330 Reverted 2920. Fixed and issue reading extra when array len = 0
  • f73e372 Merge pull request #3341 from ClickHouse/ci-speedups
  • 5a10c15 ci: keep full SonarCloud analysis on pushes to main
  • 30f893b Merge pull request #3340 from ClickHouse/ai-gate-config
  • be1195f ci: speed up PR checks
  • 4519cb8 Add .github/ai-gate.yml for the AI review gate
  • f9586ab Merge pull request #3309 from pcbeingused333/c1692-times-queue
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.clickhouse:clickhouse-jdbc](https://github.com/ClickHouse/clickhouse-java) from 0.9.6 to 0.11.2.
- [Release notes](https://github.com/ClickHouse/clickhouse-java/releases)
- [Changelog](https://github.com/ClickHouse/clickhouse-java/blob/main/CHANGELOG.md)
- [Commits](ClickHouse/clickhouse-java@v0.9.6...v0.11.2)

---
updated-dependencies:
- dependency-name: com.clickhouse:clickhouse-jdbc
  dependency-version: 0.11.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Nov 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 CI Failure Summary

❌ 1 failed check(s) (out of 16 total) on 0e40161 — grouped into 1 root-cause group(s).

Important

TL;DR: Bumping com.clickhouse:clickhouse-jdbc from 0.9.6 to 0.11.2 in v2/googlecloud-to-clickhouse/pom.xml broke all 3 ClickHouse integration tests (BigQueryToClickHouseIT and PubSubToClickHouseIT) with java.lang.NoSuchFieldError: SSL_MODE due to a binary incompatibility with com.clickhouse:client-v2:0.9.6 pulled in transitively by beam-sdks-java-io-clickhouse (2.77.0). Pin clickhouse-jdbc back to 0.9.6 or explicitly align com.clickhouse:client-v2 to 0.11.2.

1. java.lang.NoSuchFieldError: SSL_MODE in googlecloud-to-clickhouse Integration Tests (1 check(s))

  • Classification: 🔴 Likely related to PR changes
  • Root Cause: This PR upgrades com.clickhouse:clickhouse-jdbc (classifier: all, scope: test) from 0.9.6 to 0.11.2 in v2/googlecloud-to-clickhouse/pom.xml. However, org.apache.beam:beam-sdks-java-io-clickhouse (2.77.0) and org.apache.beam:beam-it-clickhouse transitively depend on com.clickhouse:client-v2:0.9.6, which precedes the clickhouse-jdbc:0.11.2:all test jar on the classpath. When ClickHouseResourceManager initializes a JDBC connection during test setup (BigQueryToClickHouseIT.setup:74 and PubSubToClickHouseIT.setupClass:69), JdbcConfiguration.buildFinalProperties (0.11.2) references ClientConfigProperties.SSL_MODE, which does not exist in the 0.9.6 classes loaded from client-v2.
  • Suggested Action: Keep com.clickhouse:clickhouse-jdbc aligned with the com.clickhouse:client-v2 version used by beam-sdks-java-io-clickhouse (0.9.6), or explicitly manage com.clickhouse:client-v2 at 0.11.2 if compatible with Beam's ClickHouse IO. Reproduce locally with:
    mvn test-compile failsafe:integration-test -pl v2/googlecloud-to-clickhouse -PtemplatesIntegrationTests -Dtest=BigQueryToClickHouseIT,PubSubToClickHouseIT
Representative log & affected check links
[ERROR] com.google.cloud.teleport.v2.clickhouse.BigQueryToClickHouseIT.testBigQueryToClickHouse -- Time elapsed: 145.7 s <<< ERROR!
java.lang.NoSuchFieldError: SSL_MODE
	at com.clickhouse.jdbc.internal.JdbcConfiguration.buildFinalProperties(JdbcConfiguration.java:398)
	at com.clickhouse.jdbc.internal.JdbcConfiguration.<init>(JdbcConfiguration.java:133)
	at com.clickhouse.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:82)
	at com.clickhouse.jdbc.Driver.connect(Driver.java:106)
	at org.testcontainers.containers.JdbcDatabaseContainer.createConnection(JdbcDatabaseContainer.java:287)
	at org.testcontainers.containers.JdbcDatabaseContainer.createConnection(JdbcDatabaseContainer.java:252)
	at org.apache.beam.it.clickhouse.ClickHouseResourceManager.<init>(ClickHouseResourceManager.java:101)
	at org.apache.beam.it.clickhouse.ClickHouseResourceManager.<init>(ClickHouseResourceManager.java:68)
	at org.apache.beam.it.clickhouse.ClickHouseResourceManager$Builder.build(ClickHouseResourceManager.java:115)
	at com.google.cloud.teleport.v2.clickhouse.BigQueryToClickHouseIT.setup(BigQueryToClickHouseIT.java:74)
...
[ERROR] Errors: 
[ERROR]   BigQueryToClickHouseIT.setup:74 » NoSuchField SSL_MODE
[ERROR]   BigQueryToClickHouseIT.setup:74 » NoSuchField SSL_MODE
[ERROR]   PubSubToClickHouseIT.setupClass:69 » NoSuchField SSL_MODE
[INFO] 
[ERROR] Tests run: 3, Failures: 0, Errors: 3, Skipped: 0
🤖 Ask Gemini Code Assist to propose an inline fix
@gemini-code-assist Please propose a fix for `BigQueryToClickHouseIT` and `PubSubToClickHouseIT` in `v2/googlecloud-to-clickhouse/pom.xml`: Upgrading `com.clickhouse:clickhouse-jdbc` (`classifier: all`) to `0.11.2` causes `java.lang.NoSuchFieldError: SSL_MODE` at runtime because `org.apache.beam:beam-sdks-java-io-clickhouse` pulls in an older `com.clickhouse:client-v2:0.9.6` earlier on the classpath.

💡 Auto-updated when PR workflows fail. Comment /summarize-failures to refresh manually, or comment a @gemini-code-assist prompt above for an inline fix.

@derrickaw
derrickaw marked this pull request as draft November 17, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ignore-for-release java Pull requests that update Java code size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants