clickhouse-java
clickhouse-java copied to clipboard
[client-v2] Added session roles for client and operations
Summary
There is a feature and it should be supported by the new client. It allows to set roles for every operation where session may not be maintained (http requests are balanced between different DB instances).
!! Documentation should be updated also.
Closes: https://github.com/ClickHouse/clickhouse-java/issues/1832
Checklist
Delete items not relevant to your PR:
- [x] Unit and integration tests covering the common scenarios were added
- [ ] A human-readable description of the changes was provided to include in CHANGELOG
- [ ] For significant changes, documentation in https://github.com/ClickHouse/clickhouse-docs was updated with further explanations or tutorials