ClickHouse / clickhouse-java

ClickHouse Java Clients & JDBC Driver
https://clickhouse.com
Apache License 2.0
1.45k stars 535 forks source link

[client-v2] Port "set_roles" feature #1832

Closed chernser closed 2 weeks ago

chernser commented 1 month ago

Description

Client V1 supports remembering roles for sending with requests: https://clickhouse.com/docs/en/interfaces/http#setting-role-with-query-parameters https://github.com/ClickHouse/clickhouse-java/issues/1782 will implement sending custom query parameters that should solve "problem" for the feature.

Expected Behavior