ClickHouse® is a real-time analytics DBMS
Go to file
Azat Khuzhin 01e1c5345a Add separate CLUSTER grant
In case you have different roles for the same user on multiple clusters,
ON CLUSTER query can help to overcome some limitations.

Consider the following example:
- cluster_with_data, dev_user (readonly=2)
- stage_cluster, dev_user (readonly=0)

So when you will execute the following query from stage_cluster, it will
be successfully executed, since ON CLUSTER queries has different system
profile:

    DROP DATABASE default ON CLUSTER cluster_with_data

This is not 100% safe, but at least something.

Note, that right now only ON CLUSTER query it self is supported, but
separate clusters are not (i.e. GRANT CLUSTER some_cluster_name TO
default), since right now grants sticked to database+.

v2: on_cluster_queries_require_cluster_grant
v3: fix test and process flags as bit mask
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-16 13:57:45 +03:00
.github Fix shellcheck in tags_stable.yml 2022-05-11 13:29:14 +02:00
base Don't leak suppression for -Wreserved-identifier out of header 2022-05-15 09:48:54 +02:00
benchmark Add benchmark script for testing clouds 2022-05-09 04:05:32 +02:00
cmake Cosmetics 2022-05-15 16:07:10 +02:00
contrib Replace variable ARCH_ARM by ARCH_AARCH64 2022-05-15 09:48:02 +02:00
docker Merge branch 'master' into array-distance-functions 2022-05-11 16:55:02 +02:00
docs Add separate CLUSTER grant 2022-05-16 13:57:45 +03:00
packages Fix strange whitespace (or I do not know YAML) 2022-04-24 22:38:59 +02:00
programs Add separate CLUSTER grant 2022-05-16 13:57:45 +03:00
src Add separate CLUSTER grant 2022-05-16 13:57:45 +03:00
tests Add separate CLUSTER grant 2022-05-16 13:57:45 +03:00
tools/clickhouse-diagnostics Style fixes 2022-04-29 09:21:05 +01:00
utils Add dependencies and CI for changelogs generator 2022-05-10 11:25:38 +02:00
website Add benchmark from some POWER machine 2022-05-10 05:12:52 +02:00
.clang-format add BeforeLambdaBody to .clang-format 2022-02-11 16:51:45 +01:00
.clang-tidy Further fixup of Linux-specific failures 2022-05-05 12:44:08 +02:00
.editorconfig Changed tabs to spaces in editor configs and in style guide [#CLICKHOUSE-3]. 2017-04-01 11:35:09 +03:00
.gitattributes mark test data as binary 2022-01-22 03:19:47 +03:00
.gitignore Add cmake page back to docs && fix /settings/settings in /zh 2022-04-24 16:47:19 -06:00
.gitmodules Merge branch 'master' into array-distance-functions 2022-05-11 16:55:02 +02:00
.pylintrc Add pylintrc config 2021-01-26 23:35:56 +03:00
.vimrc Changed tabs to spaces in editor configs and in style guide [#CLICKHOUSE-3]. 2017-04-01 11:35:09 +03:00
.yamllint Drop truthy.check-keys from yamllint (does not supported on CI) 2021-02-21 06:15:36 +03:00
AUTHORS Update AUTHORS 2021-09-22 11:38:03 +03:00
CHANGELOG.md Update CHANGELOG.md 2022-05-05 01:52:45 +03:00
CMakeLists.txt Cosmetics 2022-05-15 16:07:10 +02:00
CODE_OF_CONDUCT.md Add minimal code of conduct #9676 2020-03-16 12:44:28 +03:00
CONTRIBUTING.md Mention ClickHouse CLA in CONTRIBUTING.md (#32697) 2021-12-14 03:47:19 +03:00
format_sources allow several <graphite> targets (#603) 2017-03-21 23:08:09 +04:00
LICENSE Update year 2022-01-27 01:01:27 +03:00
PreLoad.cmake Relax cmake check for CFLAGS/CXXFLAGS/LDFLAGS 2022-05-03 14:59:03 +03:00
README.md Move codebrowser out of Yandex 2022-03-01 20:15:43 +01:00
SECURITY.md Update SECURITY.md (#35375) 2022-03-18 00:35:03 +03:00

ClickHouse — open source distributed column-oriented DBMS

ClickHouse® is an open-source column-oriented database management system that allows generating analytical data reports in real-time.

  • Official website has a quick high-level overview of ClickHouse on the main page.
  • Tutorial shows how to set up and query a small ClickHouse cluster.
  • Documentation provides more in-depth information.
  • YouTube channel has a lot of content about ClickHouse in video format.
  • Slack and Telegram allow chatting with ClickHouse users in real-time.
  • Blog contains various ClickHouse-related articles, as well as announcements and reports about events.
  • Code Browser (Woboq) with syntax highlight and navigation.
  • Code Browser (github.dev) with syntax highlight, powered by github.dev.
  • Contacts can help to get your questions answered if there are any.