clickhouse-java icon indicating copy to clipboard operation
clickhouse-java copied to clipboard

[client-v2] Added session roles for client and operations

Open chernser opened this issue 1 year ago • 0 comments

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

chernser avatar Oct 09 '24 20:10 chernser