metabase-clickhouse-driver
metabase-clickhouse-driver copied to clipboard
Doesn't pass JDBC version in user agent
Describe the bug
JDBC version is expected to be set in client name. actual result: metabase/1.3.3/unknown (Linux/6.1.0-12-amd64; OpenJDK 64-Bit Server VM/Temurin-11.0.22+7; HttpURLConnection; rv:unknown)
Would it be a good idea to follow guidelines for the User-Agent header? https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent
It means that client will add its version on its own and result would look like
metabase/1.3.3 (Linux/6.1.0-12-amd64; OpenJDK 64-Bit Server VM/Temurin-11.0.22+7;) ClickHouseJDBC/0.6.1 (HttpURLConnection; Apache HC 5.2.0)
Just in case here is a Java Client issue https://github.com/ClickHouse/clickhouse-java/issues/1698
I will leave this open as a reminder to upgrade the JDBC driver when the fix is out.
Should be fixed by https://github.com/ClickHouse/metabase-clickhouse-driver/releases/tag/1.53.4