This is an automated email from the ASF dual-hosted git repository.
RaigorJiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 920b9f7ac74 Bump the ClickHouse JDBC Driver used by optional modules
to version `0.9.8` (#38878)
920b9f7ac74 is described below
commit 920b9f7ac740978ce8d1c7a4ec59cf1757026c7b
Author: Hengqian Ling <[email protected]>
AuthorDate: Mon Jun 22 09:49:13 2026 +0800
Bump the ClickHouse JDBC Driver used by optional modules to version `0.9.8`
(#38878)
---
RELEASE-NOTES.md | 1 +
.../optional-plugins/clickhouse/_index.cn.md | 2 +-
.../optional-plugins/clickhouse/_index.en.md | 2 +-
.../reachability-metadata.json | 123 +++++----------------
pom.xml | 2 +-
5 files changed, 29 insertions(+), 101 deletions(-)
diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md
index ffb9ce3a480..acd944d43b5 100644
--- a/RELEASE-NOTES.md
+++ b/RELEASE-NOTES.md
@@ -55,6 +55,7 @@
1. Proxy: Support non column projection for MySQL prepared statement in Proxy
- [#38507](https://github.com/apache/shardingsphere/pull/38507)
1. Proxy: Support driverClassName config in proxy storage unit to solve mysql
and mariadb jdbc url conflict -
[#38582](https://github.com/apache/shardingsphere/pull/38582)
1. Proxy: Support Firebird prepared statement cache reuse for held connections
- [#38644](https://github.com/apache/shardingsphere/pull/38644)
+1. JDBC: Bump the ClickHouse JDBC Driver used by optional modules to version
`0.9.8` - [#38878](https://github.com/apache/shardingsphere/pull/38878)
## Release 5.5.3
diff --git
a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/clickhouse/_index.cn.md
b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/clickhouse/_index.cn.md
index 52df75b0235..412c1279720 100644
---
a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/clickhouse/_index.cn.md
+++
b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/clickhouse/_index.cn.md
@@ -24,7 +24,7 @@ ShardingSphere 对 ClickHouse JDBC Driver 的支持位于可选模块中。
<groupId>com.clickhouse</groupId>
<artifactId>clickhouse-jdbc</artifactId>
<classifier>all</classifier>
- <version>0.9.5</version>
+ <version>0.9.8</version>
</dependency>
</dependencies>
```
diff --git
a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/clickhouse/_index.en.md
b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/clickhouse/_index.en.md
index 893711a7bb7..290cae76fb9 100644
---
a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/clickhouse/_index.en.md
+++
b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/clickhouse/_index.en.md
@@ -24,7 +24,7 @@ the possible Maven dependencies are as follows,
<groupId>com.clickhouse</groupId>
<artifactId>clickhouse-jdbc</artifactId>
<classifier>all</classifier>
- <version>0.9.5</version>
+ <version>0.9.8</version>
</dependency>
</dependencies>
```
diff --git
a/infra/reachability-metadata/src/main/resources/META-INF/native-image/com.clickhouse/clickhouse-jdbc/0.9.4-all/reachability-metadata.json
b/infra/reachability-metadata/src/main/resources/META-INF/native-image/com.clickhouse/clickhouse-jdbc/0.9.8-all/reachability-metadata.json
similarity index 52%
rename from
infra/reachability-metadata/src/main/resources/META-INF/native-image/com.clickhouse/clickhouse-jdbc/0.9.4-all/reachability-metadata.json
rename to
infra/reachability-metadata/src/main/resources/META-INF/native-image/com.clickhouse/clickhouse-jdbc/0.9.8-all/reachability-metadata.json
index f224f952b6a..969e5ec6587 100644
---
a/infra/reachability-metadata/src/main/resources/META-INF/native-image/com.clickhouse/clickhouse-jdbc/0.9.4-all/reachability-metadata.json
+++
b/infra/reachability-metadata/src/main/resources/META-INF/native-image/com.clickhouse/clickhouse-jdbc/0.9.8-all/reachability-metadata.json
@@ -4,157 +4,84 @@
"condition": {
"typeReached":
"com.clickhouse.client.internal.net.jpountz.lz4.LZ4Factory"
},
- "type":
"com.clickhouse.client.internal.net.jpountz.lz4.LZ4HCJNICompressor",
- "fields": [
- {
- "name": "INSTANCE"
- }
- ],
- "methods": [
- {
- "name": "<init>",
- "parameterTypes": [
- "int"
- ]
- }
- ]
+ "type":
"com.clickhouse.client.internal.net.jpountz.lz4.LZ4JavaSafeCompressor",
+ "allPublicFields": true
},
{
"condition": {
"typeReached":
"com.clickhouse.client.internal.net.jpountz.lz4.LZ4Factory"
},
- "type":
"com.clickhouse.client.internal.net.jpountz.lz4.LZ4HCJavaUnsafeCompressor",
- "fields": [
- {
- "name": "INSTANCE"
- }
- ],
- "methods": [
- {
- "name": "<init>",
- "parameterTypes": [
- "int"
- ]
- }
- ]
+ "type":
"com.clickhouse.client.internal.net.jpountz.lz4.LZ4HCJavaSafeCompressor",
+ "allPublicFields": true,
+ "allDeclaredConstructors": true
},
{
"condition": {
"typeReached":
"com.clickhouse.client.internal.net.jpountz.lz4.LZ4Factory"
},
- "type":
"com.clickhouse.client.internal.net.jpountz.lz4.LZ4JNICompressor",
- "fields": [
- {
- "name": "INSTANCE"
- }
- ]
+ "type":
"com.clickhouse.client.internal.net.jpountz.lz4.LZ4JavaSafeSafeDecompressor",
+ "allPublicFields": true
},
{
"condition": {
"typeReached":
"com.clickhouse.client.internal.net.jpountz.lz4.LZ4Factory"
},
- "type":
"com.clickhouse.client.internal.net.jpountz.lz4.LZ4JNIFastDecompressor",
- "fields": [
- {
- "name": "INSTANCE"
- }
- ]
- },
- {
- "condition": {
- "typeReached":
"com.clickhouse.client.internal.net.jpountz.lz4.LZ4Factory"
- },
- "type":
"com.clickhouse.client.internal.net.jpountz.lz4.LZ4JNISafeDecompressor",
- "fields": [
- {
- "name": "INSTANCE"
- }
- ]
- },
- {
- "condition": {
- "typeReached":
"com.clickhouse.client.internal.net.jpountz.lz4.LZ4Factory"
- },
- "type":
"com.clickhouse.client.internal.net.jpountz.lz4.LZ4JavaUnsafeCompressor",
- "fields": [
- {
- "name": "INSTANCE"
- }
- ]
+ "type":
"com.clickhouse.client.internal.net.jpountz.lz4.LZ4JNICompressor",
+ "allPublicFields": true
},
{
"condition": {
"typeReached":
"com.clickhouse.client.internal.net.jpountz.lz4.LZ4Factory"
},
- "type":
"com.clickhouse.client.internal.net.jpountz.lz4.LZ4JavaUnsafeFastDecompressor",
- "fields": [
- {
- "name": "INSTANCE"
- }
- ]
+ "type":
"com.clickhouse.client.internal.net.jpountz.lz4.LZ4HCJNICompressor",
+ "allPublicFields": true,
+ "allDeclaredConstructors": true,
+ "allPublicMethods": true
},
{
"condition": {
"typeReached":
"com.clickhouse.client.internal.net.jpountz.lz4.LZ4Factory"
},
- "type":
"com.clickhouse.client.internal.net.jpountz.lz4.LZ4JavaUnsafeSafeDecompressor",
- "fields": [
- {
- "name": "INSTANCE"
- }
- ]
- },
- {
- "condition": {
- "typeReached": "com.clickhouse.data.ClickHouseFormat"
- },
- "type": "com.clickhouse.data.ClickHouseFormat",
- "fields": [
- {
- "name": "RowBinary"
- },
- {
- "name": "TabSeparated"
- }
- ]
+ "type":
"com.clickhouse.client.internal.net.jpountz.lz4.LZ4JNISafeDecompressor",
+ "allPublicFields": true
}
],
"resources": [
{
"condition": {
- "typeReached": "com.clickhouse.logging.LoggerFactory"
+ "typeReached": "com.clickhouse.client.config.ClickHouseClientOption"
},
- "glob": "META-INF/services/com.clickhouse.logging.LoggerFactory"
+ "glob": "clickhouse-client-version.properties"
},
{
"condition": {
"typeReached": "com.clickhouse.client.config.ClickHouseClientOption"
},
- "glob": "clickhouse-client-version.properties"
+ "glob": "jdbc-v2-version.properties"
},
{
"condition": {
- "typeReached": "com.clickhouse.client.api.Client"
+ "typeReached": "com.clickhouse.client.config.ClickHouseClientOption"
},
"glob": "client-v2-version.properties"
},
{
"condition": {
- "typeReached": "com.clickhouse.client.internal.net.jpountz.util.Native"
+ "typeReached":
"com.clickhouse.client.internal.org.apache.hc.core5.util.VersionInfo"
},
- "glob":
"com/clickhouse/client/internal/net/jpountz/util/**/amd64/liblz4-java.so"
+ "glob":
"com/clickhouse/client/internal/org/apache/hc/client5/version.properties"
},
{
"condition": {
- "typeReached":
"com.clickhouse.client.internal.org.apache.hc.core5.util.VersionInfo"
+ "typeReached": "com.clickhouse.logging.LoggerFactory"
},
- "glob":
"com/clickhouse/client/internal/org/apache/hc/client5/version.properties"
+ "glob": "META-INF/services/com.clickhouse.logging.LoggerFactory"
},
{
"condition": {
- "typeReached": "com.clickhouse.jdbc.Driver"
+ "typeReached": "com.clickhouse.client.internal.net.jpountz.lz4.LZ4JNI"
},
- "glob": "jdbc-v2-version.properties"
+ "glob":
"com/clickhouse/client/internal/net/jpountz/util/linux/amd64/liblz4-java.so"
}
]
}
diff --git a/pom.xml b/pom.xml
index 4db66cdfc28..ac62b2f6bc3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -131,7 +131,7 @@
<h2.version>2.2.224</h2.version>
<opengauss.version>3.1.0-og</opengauss.version>
<mariadb-java-client.version>2.4.2</mariadb-java-client.version>
- <clickhouse-jdbc.version>0.9.5</clickhouse-jdbc.version>
+ <clickhouse-jdbc.version>0.9.8</clickhouse-jdbc.version>
<hive-jdbc.version>4.0.1</hive-jdbc.version>
<hive-server2-jdbc-driver-thin.version>1.8.2</hive-server2-jdbc-driver-thin.version>
<presto.version>0.296</presto.version>