Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
8eaa1fa
update links
BentsiLeviav Feb 15, 2026
c37d2e4
add jdbc string parser to support backward compatibility
BentsiLeviav Feb 15, 2026
4dd3805
add tests to jdbc parser
BentsiLeviav Feb 15, 2026
5261cf9
add tests to check backward compatibility with the new jdbc parser
BentsiLeviav Feb 15, 2026
0aea6c8
bumping up the java client version
BentsiLeviav Feb 15, 2026
f1a7ae8
set hardcoded api version due to https://github.com/testcontainers/te…
BentsiLeviav Feb 15, 2026
ac9842a
update the base clickhouse test to use the recent java client
BentsiLeviav Feb 15, 2026
ae77799
refactor ClickHouseIO to use the new java client while maintaining ba…
BentsiLeviav Feb 15, 2026
7c90301
Adjust tests to use the new java client
BentsiLeviav Feb 15, 2026
86637aa
move numbers to CONSTs
BentsiLeviav Feb 16, 2026
a2d374f
make consts static
BentsiLeviav Feb 16, 2026
becedc7
add github issue for better tracking
BentsiLeviav Feb 16, 2026
70f153d
add explanation of SharedMergeTree
BentsiLeviav Feb 16, 2026
e9c7d69
another const
BentsiLeviav Feb 17, 2026
d2b23df
Update CHANGES.md
BentsiLeviav Feb 17, 2026
2d2ef07
correct clickhouse website
BentsiLeviav Feb 17, 2026
c73d192
Merge branch 'master' into feat/clickhouseio-upgrade-java-client
BentsiLeviav Feb 17, 2026
515ad92
add issue link instead of pr
BentsiLeviav Feb 17, 2026
33bc3f1
add documentation links
BentsiLeviav Feb 17, 2026
bb3e5e4
Fix old yandex documentation links
BentsiLeviav Feb 17, 2026
2518e5f
formating
BentsiLeviav Feb 17, 2026
1420c84
fail on JDBC options and properties mismatch
BentsiLeviav Feb 17, 2026
770d739
add link to CH deduplication strategies
BentsiLeviav Feb 17, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@

* Add Datadog IO support (Java) ([#37318](https://github.com/apache/beam/issues/37318)).
* Remove Pubsublite IO support, since service will be deprecated in March 2026. ([#37375](https://github.com/apache/beam/issues/37375)).
* (Java) ClickHouse - migrating from the legacy JDBC driver (v0.6.3) to ClickHouse Java Client v2 (v0.9.6). See the [class documentation](https://beam.apache.org/releases/javadoc/current/org/apache/beam/sdk/io/clickhouse/ClickHouseIO.html) for migration guide ([#37610](https://github.com/apache/beam/issues/37610)).

## New Features / Improvements

Expand Down Expand Up @@ -2357,4 +2358,4 @@ Schema Options, it will be removed in version `2.23.0`. ([BEAM-9704](https://iss

## Highlights

- For versions 2.19.0 and older release notes are available on [Apache Beam Blog](https://beam.apache.org/blog/).
- For versions 2.19.0 and older release notes are available on [Apache Beam Blog](https://beam.apache.org/blog/).
7 changes: 4 additions & 3 deletions sdks/java/io/clickhouse/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ applyJavaNature(
)

description = "Apache Beam :: SDKs :: Java :: IO :: ClickHouse"
ext.summary = "IO to write to ClickHouse (https://clickhouse.yandex)."
ext.summary = "IO to write to ClickHouse (https://clickhouse.com)."

// Match the output directory for generated code with the package, to be more tool-friendly
def generatedJavaccSourceDir = "${project.buildDir}/generated/javacc"
Expand All @@ -50,7 +50,7 @@ idea {
}
}

def clickhouse_jdbc_version = "0.6.4"
def clickhouse_java_client_version = "0.9.6"

dependencies {
javacc "net.java.dev.javacc:javacc:7.0.9"
Expand All @@ -59,11 +59,12 @@ dependencies {
implementation library.java.joda_time
implementation library.java.slf4j_api
implementation library.java.vendored_guava_32_1_2_jre
implementation "com.clickhouse:clickhouse-jdbc:$clickhouse_jdbc_version:all"
implementation "com.clickhouse:client-v2:$clickhouse_java_client_version:all"
testImplementation library.java.slf4j_api
testImplementation library.java.junit
testImplementation library.java.hamcrest
testImplementation library.java.testcontainers_clickhouse
testImplementation "com.clickhouse:clickhouse-jdbc:$clickhouse_java_client_version:all"
testRuntimeOnly library.java.slf4j_jdk14
testRuntimeOnly project(path: ":runners:direct-java", configuration: "shadow")
}
Expand Down
Loading
Loading