You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add force_optimize_skip_unused_shards and optimize_skip_unused_shards to ClickHouseQueryParam #679
configurationArea: connection strings, client options, ClickHouse settingsenhancementjdbcModule: the JDBC driver (jdbc-v2; with legacy: the v1 driver)legacyOnly the v1 stack (clickhouse-client, clickhouse-http-client, clickhouse-jdbc) has the problem
With new option custom_http_params(comma separated) you should be able to customize settings as needed.
application scope
use connection url like jdbc:ch://localhost/system?custom_http_params=force-optimize-skip-unused-shards%3D1 or set connection property custom_http_params to A=1,B=2.
configurationArea: connection strings, client options, ClickHouse settingsenhancementjdbcModule: the JDBC driver (jdbc-v2; with legacy: the v1 driver)legacyOnly the v1 stack (clickhouse-client, clickhouse-http-client, clickhouse-jdbc) has the problem
Activity
zhicwu commentedon Jul 5, 2021
In the new client/driver, you’ll be able to specify any setting as needed. But I think you can try any of below two approaches:
zhicwu commentedon Dec 29, 2021
With new option
custom_http_params(comma separated) you should be able to customize settings as needed.use connection url like
jdbc:ch://localhost/system?custom_http_params=force-optimize-skip-unused-shards%3D1or set connection propertycustom_http_paramstoA=1,B=2.