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
Ramazan Polat
72a2a1d8fe
update materialize index notation
2022-05-16 00:28:49 +03:00
小蝌蚪
11cc8639ca
Add a missing **ESTIMATE** in explain syntax
2022-04-28 00:10:59 +08:00
rfraposa
6576fd88c1
EOL fixes
2022-04-19 13:50:45 -06:00
rfraposa
fb08c5b7e1
Merge branch 'master' into docs-staging
2022-04-15 07:25:27 -06: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
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
9854b55835
Revert "Format changes for new docs"
2022-04-04 02:05:35 +03:00
rfraposa
72a00e2c62
Fixed broken links
2022-04-02 17:38:54 -06:00
Rich Raposa
e6191511cf
Merge branch 'ClickHouse:master' into master
2022-04-01 11:43:48 -06:00
rfraposa
e5ee39541e
Fixing conflicts with source repo
2022-04-01 11:34:35 -06:00
rfraposa
560471f991
Update /sql-reference docs
2022-03-29 22:06:21 -06:00
Yakov Olkhovskiy
de58f5988d
Update table.md
...
allow EPHEMERAL without expression
2022-03-29 04:01:20 -04:00
rfraposa
c05bf7beb4
Testing new /en folder
2022-03-28 23:09:17 -06:00
Yakov Olkhovskiy
5ae6f800c6
Update order-by.md
...
INTERPOLATE fix
2022-03-19 03:03:24 -04:00
Yakov Olkhovskiy
5c8a77dade
Update order-by.md
...
INTERPOLATE fix
2022-03-19 03:02:51 -04:00
Yakov Olkhovskiy
4f892dc9da
Update order-by.md
...
INTERPOLATE is added
2022-03-19 03:02:20 -04:00
Yakov Olkhovskiy
90888ea95b
Update index.md
...
INTERPOLATE is added
2022-03-19 03:00:29 -04:00
Denny Crane
fd910af86d
Update limit-by.md
2022-03-06 13:37:33 -04:00
Yong Wang
838d931137
Update array-join.md
2022-02-23 18:37:13 -05:00
Yong Wang
8a5ac182f0
Update array-join.md
2022-02-23 18:32:37 -05:00
Nikolai Kochetov
ab288642f6
Merge branch 'master' into ephemeral-column
2022-02-15 10:03:34 +00:00
Denny Crane
2daacc1a3e
Update column.md
2022-02-11 15:40:20 -04:00
yakov-olkhovskiy
465dee928c
Update table.md
2022-02-08 21:09:52 -05:00
yakov-olkhovskiy
42ea826acb
Update table.md
...
EPHEMERAL specifier is added
2022-02-08 11:35:14 -05:00
cmsxbc
a33bd4c623
Merge branch 'master' into addressToLineWithInlines
2022-02-08 08:54:15 +08:00
Anton Popov
861ce6ae94
Update order-by.md
2022-02-05 02:07:45 +03:00
Mohamad Fadhil
8f1030378a
Add INTERVAL STEP example in SELECT .. ORDER BY WITH FILL documentation
...
This corresponds to the merged PR https://github.com/ClickHouse/ClickHouse/pull/30927
2022-02-04 10:02:42 +08:00
cmsxbc
8b916a67e5
Merge branch 'master' into addressToLineWithInlines
2022-02-01 19:37:18 +08:00
zhangxiao871
7f2f7fa993
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into yandex-master
2022-01-30 13:46:52 +08:00
alexey-milovidov
379f8d3d7e
Update use.md
2022-01-29 01:09:46 +03:00
mergify[bot]
c9a1c9a896
Merge branch 'master' into system_on_cluster
2022-01-28 10:42:26 +00:00
mergify[bot]
61ac72ca32
Merge branch 'master' into addressToLineWithInlines
2022-01-27 12:02:56 +00:00
Maksim Kita
10cba358cf
Merge pull request #33952 from grant88/patch-1
...
Update user.md
2022-01-26 22:29:14 +01:00
zhangxiao871
1bd74dda63
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into yandex-master
2022-01-26 17:40:32 +08:00
zhangxiao871
20b669f330
Supports all types of SYSTEM query ON CLUSTER clause.
2022-01-26 17:40:00 +08:00
cmsxbc
58dd1a2d5c
add function addressToLineWithInlines
2022-01-25 19:13:47 +08:00
grantovsky
d7ad03a37f
Update user.md
...
removed keyword 'NAME' from HOST instruction
2022-01-24 16:54:42 +03:00
mergify[bot]
5ef5e1d558
Merge branch 'master' into karnevil-DOCSUP-18631
2022-01-24 12:09:59 +00:00
mlkui
4041fbc062
Update check-table.md
...
Right should be:
If `check_query_single_value_result` = 1, the `CHECK TABLE` query shows the general table check status.
Old wrong:
If `check_query_single_value_result` = 0, the `CHECK TABLE` query shows the general table check status.
2022-01-23 19:19:21 +08:00
cnmade
4043529300
Translate zh/sql/statements:rev translate
2022-01-18 11:40:29 +08:00
cnmade
fc38cffd33
Translate zh/sql/statements index and use document
2022-01-18 11:06:41 +08:00
Anton Popov
a25f2518e3
Merge pull request #33141 from 1over/feature_default_keyword
...
Add support of DEFAULT keyword for INSERT
2022-01-18 02:04:37 +03:00
13DaGGeR
c1ab96bf0f
Fix typo: OPTMIZE -> OPTIMIZE
2022-01-13 13:32:45 +03:00
Kseniia Sumarokova
e6ea7c361d
Merge pull request #32836 from stigsb/explain-table-override
...
Add `EXPLAIN TABLE OVERRIDE` for pre-validating overrides.
2022-01-10 09:58:16 +03:00
Anselmo D. Adams
883b83acb0
Update dictionary.md
2021-12-30 19:43:54 -03:00
Anselmo D. Adams
5df89e978e
Update dictionary.md
...
Fixed order of DICTIONARY term in create statement
2021-12-30 19:33:31 -03:00
Stig Bakken
6b4a16977e
Add some docs for EXPLAIN TABLE OVERRIDE
2021-12-30 09:02:28 +01:00
alexey-milovidov
255c4c92b9
Merge pull request #33233 from freedomDR/doc_projection_fix
...
improve projection doc describe
2021-12-29 21:09:33 +03:00
Denny Crane
035d757cc1
Update grant.md
2021-12-28 14:13:41 -04:00
Vladimir C
78710d71b5
Specify sql syntax in code snippets in join.md
2021-12-28 10:49:35 +03:00
Tatiana Kirillova
8dc204c280
fix diff and translate
2021-12-27 21:23:09 +03:00
freedomDR
d41ba4dc0f
improve projection describe
2021-12-27 15:39:35 +00:00
Tatiana Kirillova
a4d364ab03
update text
2021-12-26 14:03:49 +03:00
Tatiana Kirillova
e3e1fe74c1
update
2021-12-26 13:55:49 +03:00
Tatiana Kirillova
05a33abf26
OR operator in ON section for JOIN
2021-12-26 13:38:22 +03:00
Andrii Buriachevskyi
6a0a0efd29
Update docs with DEFAULT keyword for INSERT statement
2021-12-24 13:45:43 +01:00
dalei2019
11c85fe66b
Update role.md
2021-12-21 16:03:37 +08:00
alesapin
3cee6d37db
Merge pull request #32746 from fanofxiaofeng/patch-1
...
name -> table_name
2021-12-16 10:45:56 +03:00
Denny Crane
41fc080c04
Update group-by.md
2021-12-15 12:18:50 -04:00
靳阳
14ca6aa92b
name -> table_name
...
fix possible wrong word
2021-12-14 19:21:12 +08:00
Vxider
7eb18ea21e
watch events support for window view
2021-12-12 07:45:55 +00:00
vxider
52fa82b4d4
rename window-view function to time window function
2021-12-10 09:43:44 +00:00
Vxider
b74af1af5d
fix window view docs
2021-12-10 00:51:31 +08:00
vxider
eb759c83f6
window view docs improvement
2021-12-08 14:43:26 +00:00
vxider
ed17afbdb3
rename window function to window view function
2021-12-07 10:31:49 +00:00
vxider
03dc76da15
add window view doc(en)
2021-12-07 10:05:19 +00:00
cmsxbc
366ee3deba
Support PostgreSQL style ALTER MODIFY COLUMN
2021-11-30 21:07:14 +08:00
Vladimir C
ef2571af06
Merge pull request #31585 from lehasm/alexey-sm-DOCSUP-14893-document-COMPRESSION
2021-11-30 11:36:45 +03:00
Vladimir C
c6d49769d9
Apply suggestions from code review
2021-11-30 11:36:03 +03:00
Alexey
bc4047ef24
updates
2021-11-28 19:26:51 +00:00
Alexey
b8a3f62734
updates
2021-11-28 08:20:57 +00:00
Alexey
031cd54cea
Updated INSERT INTO
2021-11-28 07:59:40 +00:00
Alexey
2664b664a7
INSERT INTO syntax reverted
2021-11-27 20:05:28 +00:00
karnevil13
9a60033fef
Merge branch 'master' into karnevil-DOCSUP-18631
2021-11-23 01:05:12 +03:00
karnevil13
77df8ce0dd
DOCSUP-18631: Edit and translate
2021-11-23 00:44:08 +03:00
Alexey
83886b76a3
INSERT INTO TABLE FUNCTION draft
2021-11-22 19:17:00 +00:00
Kseniia Sumarokova
32911193de
Merge pull request #31394 from lehasm/alexey-sm-DOCSUP-17653-doc-WHERE-EXISTS
...
DOCSUP-17653: document EXISTS(subquery)
2021-11-22 08:57:53 +03:00
Alexey
8943908cf0
INSERT FROM INFILE draft
2021-11-21 11:28:17 +00:00
Alexey
b17b05590c
INTO OUTFILE description updated
2021-11-20 18:44:45 +00:00
Alexey
122b42c36a
Formatting updated. Spelling fix.
...
2 paragraphs reordered.
2021-11-20 08:44:36 +00:00
Alexey
ef6443f3f5
Translated paragraph about NULL from ru to en.
...
Copied corresponding example
2021-11-19 19:21:50 +00:00
SuperDJY
dd2972b8c3
return fake create query when executing show create table
on system's tables. ( #31391 )
...
* clarify that cannot show create table of system's tables
* clarify that cannot show create table of system's tables in the document
* bypass test style-check for required `database=currentDatabase()` because `show create table` do not have condition
* rename supportsShowCreateTable to isSystemStorage
* build fake create query for show create table of system's tables
* fix tests for show create table on system's table:
1. only build fake create query when cannot get real query
2. only test rocksdb when it's enabled.
* fix test for show create table system.tables
* fix test for ASTCreateQuery set table and database
* change to LOGICAL_ERROR when cannot get in_memory metadata
Co-authored-by: tavplubix <tavplubix@gmail.com>
* implement common getCreateQueryFromStorage
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-11-19 13:25:55 +03:00
alexey-milovidov
3e62f8a548
Merge pull request #30448 from FArthur-cmd/remove_comments_for_enc_docs
...
Remove comments for enc docs
2021-11-18 09:42:59 +03:00
Alexey
40952d53ac
Small text change
...
Removed See Also EXISTS from WHERE
2021-11-13 19:47:50 +00:00
Alexey
ba0d57b90e
Added example to WHERE
2021-11-13 19:46:38 +00:00
Alexey
398e164e46
en draft (EXISTS)
2021-11-12 20:02:26 +00:00
Denny Crane
22a32c46bd
Update dictionary.md
2021-11-12 13:00:34 -04:00
alesapin
fe44b167d1
Merge pull request #31110 from sevirov/sevirov-DOCSUP-15458-document_the_alter_table_modify_comment
...
DOCSUP-15458: Document the SQL-statement ALTER TABLE ... MODIFY COMMENT
2021-11-12 16:45:00 +03:00
Maksim Kita
42ecb28788
Merge pull request #31082 from sevirov/sevirov-DOCSUP-16607-update_the_sql_statement_create_dictionary
...
DOCSUP-16607: Update the SQL-statement CREATE DICTIONARY
2021-11-12 16:29:27 +03:00
Denny Crane
8ea209c084
Update column.md
2021-11-09 17:34:28 -04:00
Denny Crane
b391ca512a
Doc. freeze with name
2021-11-07 17:42:56 -04:00
Dmitriy
2f01d45bb2
Translate to Russian
...
Выполнил перевод на русский язык.
2021-11-07 19:04:14 +03:00
sevirov
10cfbbc1a6
Update docs/en/sql-reference/statements/alter/index.md
...
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-11-07 18:09:07 +03:00
sevirov
11b1662eb0
Update docs/en/sql-reference/statements/alter/comment.md
...
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-11-07 18:09:01 +03:00