Repository navigation
Upgrade ClickHouse JDBC to 0.11.1 - #178
Merged
Merged
Conversation
Update the server and automation driver dependencies to support ClickHouse 26.9, including its ZSTD-compressed responses. Test against ClickHouse 24 and 26.9 and remove cases that set http_connection_provider, which JDBC v2 ignores. Update the driver recommendation in the ClickHouse guide.
Collaborator
Author
|
This PR is parked here for a week or two. clickhouse-jdbc's changelog is huge - we will test it in production for a week or two before merging and making it a default. |
ostinru
marked this pull request as ready for review
November 12, 2026 07:00
Collaborator
Author
|
We have updated 2/3 of all our users to clickhouse-jdbc 0.11.0 - no issues observed. |
MisterRaindrop
approved these changes
Nov 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrade the bundled ClickHouse JDBC driver and the automation dependency to 0.11.1, and update the recommended version in the documentation.
This upgrade fixes compatibility with ClickHouse 26.9+ (
Invalid LZ4 magic byte: -112; ClickHouse/clickhouse-java#3105). Version 0.11.1 also fixes a regression introduced in 0.11.0 where inserts with request compression could fail on incompressible data withLZ4Exception: maxDestLen is too smallorZstdException: Destination buffer is too small.The V2 driver uses Apache HttpClient and ignores the legacy
http_connection_provideroption. The automation test no longer overrides that option.Migration note: V2 uses
ssl_modeinstead ofsslmode, andssl_keyinstead ofsslkey. The equivalent ofsslmode=noneisssl_mode=TRUST;STRICTremains the default and verifies the certificate chain and hostname.Release notes: https://github.com/ClickHouse/clickhouse-java/releases/tag/v0.11.1
Validation: checked version consistency across the bundled driver, automation dependency, and documentation;
git diff --checkpassed. GitHub CI is queued for commit d2a28d4.