Commit Graph

2585 Commits

Author SHA1 Message Date
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
Robert Schulze
7006ef6ebb
Merge pull request #37230 from ramazanpolat/patch-3
update materialize index notation
2022-05-16 11:18:10 +02:00
Alexey Milovidov
c430fa3a7c
Merge pull request #37098 from liumaojing/patch-1
Update grouparray.md
2022-05-16 04:29:41 +03:00
Alexey Milovidov
b6a0ea92dc
Update grouparray.md 2022-05-16 04:29:30 +03:00
Alexey Milovidov
7b9d81af84
Update grouparray.md 2022-05-16 04:28:39 +03:00
Alexey Milovidov
97a144d8ed
Update grouparray.md 2022-05-16 04:27:58 +03:00
Ramazan Polat
72a2a1d8fe
update materialize index notation 2022-05-16 00:28:49 +03:00
rfraposa
044e76d91b Add BLAKE3 hash function 2022-05-11 12:10:16 -06:00
lanfz
6be44ae90d
Misspelled words
partiton Modified to partition
2022-05-11 20:08:53 +08:00
liumaojing
2924cfd960
Update grouparray.md 2022-05-11 14:14:05 +08:00
liumaojing
a26f46aec9
Update grouparray.md 2022-05-11 11:30:21 +08:00
Rich Raposa
34f0d1c5f8
Revert "BLAKE3 hash function documentation" 2022-05-10 13:28:36 -06:00
Rich Raposa
23608b5e53
Merge pull request #36999 from BoloniniD/BLAKE3_docs
BLAKE3 hash function documentation
2022-05-10 13:28:21 -06:00
ni1l
f1eee40345 Add isIPAddressInRange function example 2022-05-10 00:03:10 +08:00
BoloniniD
aa21a8925f Fixes 2022-05-07 17:08:40 +03:00
Alexey Milovidov
fd363695dc
Update array-functions.md 2022-05-07 13:48:11 +03:00
Alexey Milovidov
40c049b0c9
Update bit-functions.md 2022-05-07 13:47:15 +03:00
Alexey Milovidov
0cac59a9f9
Update string-functions.md 2022-05-07 13:46:17 +03:00
mergify[bot]
2d1057bc87
Merge branch 'master' into fix-substring-negative-offset-length 2022-05-07 10:30:39 +00:00
BoloniniD
0cf6f66fcf Add BLAKE3 hash docs 2022-05-07 12:08:37 +03:00
Alexey Milovidov
5a750d3305 Merge branch 'master' into revert-group-array-sorted 2022-05-05 00:51:01 +02:00
Sergei Trifonov
6730ad9799
update docs for time window functions 2022-05-03 19:12:42 +02:00
Alexey Milovidov
d6c0de0d40 Revert "Merge pull request #34055 from palegre-tiny/groupSortedArray"
This reverts commit f055d7b692, reversing
changes made to 4ec3c35e14.
2022-04-30 12:29:23 +02:00
Rich Raposa
8c3f313671
Merge pull request #36791 from ClickHouse/rfraposa-patch-3
Various docs fixes
2022-04-29 06:09:23 -06:00
rfraposa
e7b7b7ecd3 Various docs fixes 2022-04-29 05:33:51 -06:00
Maksim Kita
fc4f241f01 Fix documentation for executable user defined functions configuration 2022-04-28 18:01:10 +02:00
小蝌蚪
11cc8639ca
Add a missing **ESTIMATE** in explain syntax 2022-04-28 00:10:59 +08:00
Alexey Milovidov
86bf67c93c
Merge pull request #36526 from Joeywzr/to_start_of_five_minutes
Replace toStartOfFiveMinute to toStartOfFiveMinutes
2022-04-26 05:52:02 +03:00
XenoAmess
da3d7f2835 fix boolean documents. 2022-04-26 05:51:56 +08:00
mergify[bot]
705d5af3a0
Merge branch 'master' into to_start_of_five_minutes 2022-04-24 22:24:24 +00:00
Alexey Milovidov
b06c544256
Merge pull request #36292 from simpl1g/simpl1g/fix-json-value-docs
[DOCS] JSON_VALUE return unquoted string after 21.12
2022-04-25 01:22:22 +03:00
Memo
956d525840 fix conflict 2022-04-22 11:22:50 +08:00
Memo
39aadf0975 replaced toStartOfFiveMinute to toStartOfFiveMinutes 2022-04-22 10:49:59 +08:00
Mikhail f. Shiryaev
1e9d80a9c2
Merge pull request #36297 from ClickHouse/docs-staging
Docs staging
2022-04-20 10:47:54 +02:00
Yakov Olkhovskiy
58a3ce78e9
Update enum.md
some corrections
2022-04-19 23:31:23 -04:00
rfraposa
6576fd88c1 EOL fixes 2022-04-19 13:50:45 -06:00
rfraposa
476122e92a
Fix broken links 2022-04-19 20:17:01 +02:00
awakeljw
017777793a Possible range issues in automatic assigned enums, also fix error message. 2022-04-17 21:40:48 +08:00
rfraposa
fb08c5b7e1 Merge branch 'master' into docs-staging 2022-04-15 07:25:27 -06:00
Konstantin Ilchenko
1b8b43af52 [DOCS] JSON_VALUE return unqouted string after 21.12 2022-04-15 13:03:59 +02:00
rfraposa
1afe4300e8 Fixed broken links 2022-04-11 09:55:54 -06:00
rfraposa
d9e6f780db Fixed broken links 2022-04-10 23:01:34 -06:00
rfraposa
4da4259c78 Added reference docs to sidebar 2022-04-10 21:27:48 -06:00
rfraposa
4feb622c9f Added /zh docs 2022-04-10 17:08:18 -06:00
rfraposa
8f01fe9c49 Revised /en folder 2022-04-09 07:34:21 -06:00
rfraposa
5250d9ad11 Removed /ja folder, cleaned up /ru markdown 2022-04-09 07:29:05 -06:00
Yakov Olkhovskiy
7dbe8bc2dc major bugs fixed, tests added, docs updated 2022-04-07 01:21:24 -04:00
Yakov Olkhovskiy
90c4cd3de7
Merge branch 'master' into interpolate-feature 2022-04-05 14:39:07 -04:00
Alexey Milovidov
4502fb0117
Merge pull request #35581 from kceventus/patch-1
Update index.md
2022-04-05 00:55:50 +03:00
Nikolai Kochetov
19819c72f8
Merge pull request #35290 from bigo-sg/function_enumerate_streams
Add function getTypeSerializationStreams
2022-04-04 12:09:53 +02:00