Labels
api-diagnosticsArea: public API shape, error reporting, logging, metrics, tracingbugclientModule: the client (client-v2; with legacy: the v1 client)investigatingInvestigation of a root cause is on goingjdbcModule: the JDBC driver (jdbc-v2; with legacy: the v1 driver)
Milestone
Description
Currently we are seeing user agent strings with the following format:
hex ClickHouse JDBC Driver V2/0.9.6 clickhouse-java-v2/0.9.6 (Linux; jvm:17.0.18) Apache-HttpClient/1.24.0
The issue is that there's no separator between "hex" and the JDBC driver string, making it impossible for us to parse out "hex" as the app. I think the issue is here?
Would it be possible to add the product version (eg "hex/1.2.3"), and if that is empty, then produce eg ("hex/")?
Reacted by Mikhail Shustov
Metadata
Metadata
Assignees
Labels
api-diagnosticsArea: public API shape, error reporting, logging, metrics, tracingbugclientModule: the client (client-v2; with legacy: the v1 client)investigatingInvestigation of a root cause is on goingjdbcModule: the JDBC driver (jdbc-v2; with legacy: the v1 driver)
Activity
chernser commentedon Mar 5, 2026
@alex-clickhouse
This is user controlled thing and JDBC. They suppose to provide their version and we should not change their string.
what we can improve here is changing our strings to "clickhouse-jdbc-v2/0.9.6". This can be used as delimiter.