Commit Graph

715 Commits

Author SHA1 Message Date
Tatiana Kirillova
0362083843
Update docs/en/sql-reference/statements/select/order-by.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-07 08:29:28 +03:00
Tatiana Kirillova
0ed02e689d
Update docs/en/sql-reference/statements/select/limit-by.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-07 08:27:17 +03:00
Tatiana Kirillova
c70ce36ff4
Update docs/en/sql-reference/statements/select/index.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-07 08:27:00 +03:00
Maksim Kita
c2c621c6dc Dictionary attributes updated documentation 2021-10-06 23:33:36 +03:00
Tatiana Kirillova
2bfcdc431b translate 2021-10-06 21:42:07 +03:00
Ivan Blinkov
8e9df6d667
Update sample.md 2021-10-06 09:12:27 +03:00
Ivan Blinkov
f45880aa89
Update sample-by.md 2021-10-06 09:02:20 +03:00
Tatiana Kirillova
c049170f78 minor fix 2021-10-04 21:26:04 +03:00
Tatiana Kirillova
83424685fc update example 2021-10-04 21:11:12 +03:00
Tatiana Kirillova
1c62a53afe Document the enable_positional_arguments setting 2021-10-04 20:49:21 +03:00
Mikhail
52c5f2da72 Перевод + дополнение англ версии 2021-10-04 16:41:50 +03:00
Mikhail
4497f5094e Moved changes to this new branch 2021-10-04 16:19:51 +03:00
Alexander Chashnikov
e76e4bdfd2
typo 2021-10-04 12:42:55 +03:00
Roman Bug
bb5c92276d
Update docs/en/sql-reference/statements/create/view.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-01 18:26:09 +03:00
Roman Bug
50ef202b12
Update docs/en/sql-reference/statements/create/view.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-01 18:25:57 +03:00
romanzhukov
c0ba8d1a04 Fix crosslink. 2021-09-29 21:31:18 +03:00
romanzhukov
e312156b1c Add note about Materialized views 2021-09-29 17:52:39 +03:00
Alexey
8f576096ad ru translation 2021-09-27 20:24:12 +00:00
Alexey
59a69b64e0 Improved text 2021-09-26 19:44:53 +00:00
Alexey
89c5d7e5ea Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into alexey-sm-DOCSUP-15139-document--RELOAD-FUNCTION 2021-09-25 19:33:24 +00:00
Alexey
5e1d180d64 reload and grant stub 2021-09-25 19:32:42 +00:00
Nikita Mikhaylov
e5431eb576
Merge pull request #29042 from bbkas/patch-1
Alignment with the russian version: Manipulating Key Expressions
2021-09-23 15:05:27 +03:00
Ivan Blinkov
a7cbad50ed fixes and cleanup 2021-09-20 11:08:21 +03:00
Ivan Blinkov
f429db1ee9 find . -type f -name '*.md'| xargs -I{} perl -pi -e 's|https://clickhouse.tech|https://clickhouse.com|g' {} 2021-09-19 23:05:54 +03:00
olgarev
2570e270d7
DOCSUP-13593: Alter view (#28911)
* Alter mv and lv (en)

* Translated to Russian. Fixes.

* Fixes

* Update docs/en/sql-reference/statements/alter/view.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2021-09-17 12:07:32 +03:00
bbkas
d4e142e58a
Alignment with the Russian version: Manipulating Key Expressions 2021-09-15 14:20:49 +03:00
yeer
ac7330b805
Update where.md
type: expluded => excluded
2021-09-10 11:41:46 +08:00
Maksim Kita
4f4cc9d740
Merge pull request #27994 from lehasm/alexey-sm-DOCSUP-13375-document-CREATE-DROP-FUNCTION
DOCSUP-13375: Document the SQL-statements CREATE FUNCTION and DROP FUNCTION
2021-09-10 00:55:43 +03:00
Dmitriy
62b15122ff
DOCSUP-13875: Document the replication_wait_for_inactive_replica_timeout setting (#28464)
* Add documentation of settings

Задокументировал две настройки.

* Fix links

Поправил ссылки.

* Update docs/en/operations/settings/settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/en/operations/settings/settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/en/operations/settings/settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/en/operations/settings/settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/en/sql-reference/statements/alter/index.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/en/sql-reference/statements/alter/index.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/en/sql-reference/statements/optimize.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/en/sql-reference/statements/truncate.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/en/sql-reference/statements/truncate.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Translate to Russian

Выполнил перевод на русский язык.

* Fix links

Поправил ссылки.

* Update settings.md

Поправил перевод.

* Update docs/en/operations/settings/settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/en/sql-reference/statements/alter/index.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/en/sql-reference/statements/optimize.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/en/sql-reference/statements/truncate.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/en/operations/settings/settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Fix errors

Исправил неточности в описании.

* Update optimize.md

Поправил описание запроса OPTIMIZE.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-09-09 23:33:08 +03:00
MagiaGroz
c0b5e0f35e
update en-docs alter/index 2021-09-09 13:45:06 +06:00
Alexey
d738f45ec0 Examples fixed 2021-09-04 16:31:04 +00:00
Alexey
d9aee1bf7b Merge branch 'alexey-sm-DOCSUP-13375-document-CREATE-DROP-FUNCTION' of https://github.com/lehasm/ClickHouse into alexey-sm-DOCSUP-13375-document-CREATE-DROP-FUNCTION 2021-09-01 18:37:42 +00:00
Alexey
299fc2604a Example fixed 2021-09-01 18:36:35 +00:00
Maksim Kita
bcb826df4d
Merge pull request #28162 from olgarev/revolg-DOCSUP-13597-Right_and_full_join_for_MergeJoin
DOCSUP-13597: RIGHT and FULL join for MergeJoin
2021-08-31 12:07:16 +03:00
Thomas Berdy
e5511944bc
doc: Warn about MV using column names during insertion 2021-08-27 18:40:35 +02:00
Nikolai Kochetov
11d79ec24f
Merge pull request #27725 from olgarev/revolg-DOCSUP-12894-projections_translated
DOCSUP-12894: Projections settings
2021-08-26 11:26:58 +03:00
Artur Filatenkov
31c7e22bd6 correct style 2021-08-25 18:29:25 +03:00
Filatenkov Artur
884b51116d
Merge branch 'master' into master 2021-08-25 14:34:39 +03:00
olgarev
dfdeaa0be9 Initial 2021-08-24 22:40:50 +00:00
lehasm
79c3b35c6e
Update docs/en/sql-reference/statements/create/function.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-23 22:29:38 +03:00
lehasm
7ba2e9df3e
Update docs/en/sql-reference/statements/create/function.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-23 22:29:18 +03:00
Filatenkov Artur
f395b2dd4b
Merge pull request #27756 from lehasm/alexey-sm-DOCSUP-12064-document-conditions-in-JOIN-ON
DOCSUP-12064: document AND conditions in JOIN ON
2021-08-23 10:12:06 +03:00
Alexey
1e4b90f351 Description improved
First example changed, new example added
2021-08-22 19:57:59 +00:00
olgarev
12218fd973 Merge branch 'master' into revolg-DOCSUP-12894-projections_translated 2021-08-21 13:54:24 +00:00
Alexey
77a1a35a05 Additional links to CREATE and DROP FUNCTION 2021-08-21 12:38:44 +00:00
Alexey
8c7c928f62 Description draft 2021-08-21 12:38:19 +00:00
Alexey
cbb3fb0cb6 Typo fixed 2021-08-20 20:30:21 +00:00
Alexey
99aaa8af43 Russian translation.
Some improvements and fixes.
2021-08-20 20:20:27 +00:00
Alexey
69f3cae030 Merge branch 'alexey-sm-DOCSUP-12064-document-conditions-in-JOIN-ON' of https://github.com/lehasm/ClickHouse into alexey-sm-DOCSUP-12064-document-conditions-in-JOIN-ON 2021-08-19 20:46:27 +00:00
Alexey
b2e9e194c5 Added an example and a note. 2021-08-19 20:46:22 +00:00
lehasm
96f5ea515f
Update docs/en/sql-reference/statements/select/join.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-08-19 23:16:55 +03:00
tavplubix
cf29ee6780
Merge pull request #26800 from pdv-ru/pdv-ru-DOCSUP-10607-edit-translate
DOCSUP-10607: [CLICKHOUSEDOCS] Edit and translate to Russian (SYSTEM RESTORE REPLICA and h3ToGeo function)
2021-08-18 13:31:27 +03:00
Alexander Kuzmenkov
c0e1c42562
Merge pull request #27536 from adevyatova/annadevyatova-DOCSUP-11968-explain
DOCSUP-11968: Document the SQL-statement EXPLAIN ESTIMATE
2021-08-17 16:50:34 +03:00
Filatenkov Artur
bc5b6af8fa
Merge branch 'ClickHouse:master' into master 2021-08-17 12:22:34 +03:00
Alexey
2af5b43265 Description rewritten 2021-08-16 20:06:15 +00:00
pdv-ru
a662d2116f
Update docs/en/sql-reference/statements/system.md
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-08-16 15:51:02 +03:00
pdv-ru
f9a3998351
Update docs/en/sql-reference/statements/system.md
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-08-16 15:50:14 +03:00
olgarev
3dc8e4931e Links added 2021-08-16 02:14:36 +00:00
olgarev
de2341fe02 Initial 2021-08-16 01:57:09 +00:00
Alexey
c667a94978 Several format fixes in other places 2021-08-15 19:33:04 +00:00
Alexey
6177a9c454 en draft 2021-08-15 15:36:24 +00:00
Anna
ddc31e8434
Update docs/en/sql-reference/statements/explain.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-14 09:06:01 +03:00
Anna
42f71593dd
Update docs/en/sql-reference/statements/explain.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-14 09:05:03 +03:00
adevyatova
d2402c17b5 Changed example 2021-08-13 12:15:45 +00:00
adevyatova
adc4150fdf Fix typo 2021-08-13 14:45:16 +03:00
Vladimir C
f9a1bf4156
Merge pull request #27449 from olgarev/revolg-DOCSUP-11581-distinct_on 2021-08-13 12:35:30 +03:00
Filatenkov Artur
3a32aa0dff
Update table.md 2021-08-12 16:03:35 +03:00
adevyatova
ed1c698683 Add docs for EXPLAIN ... ESTIMATE 2021-08-10 21:48:49 +03:00
pdv-ru
b324d85fbc DOCSUP-10607: small fix 2021-08-10 21:04:42 +03:00
olgarev
9763dd18b1
Update docs/en/sql-reference/statements/select/distinct.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-08-10 00:46:25 +03:00
Artur Filatenkov
d8434539a7 comment docs 2021-08-09 17:17:22 +03:00
Maksim Kita
70b52fc039
Merge pull request #27063 from lehasm/alexey-sm-DOCSUP-9860-document-refactored-storage-dictionary
DOCSUP-9860: document refactored storage dictionary
2021-08-09 14:17:34 +03:00
olgarev
9ce7669e1f Initial 2021-08-09 01:25:22 +00:00
alexey-milovidov
8ac1f3b73d
Update projection.md 2021-08-08 04:24:23 +03:00
mergify[bot]
106bddb290
Merge branch 'master' into patch-6 2021-08-08 01:22:50 +00:00
pdv-ru
5b08a73d52 edit warning in system.md 2021-08-04 23:28:25 +03:00
pdv-ru
e76e9abb2d edit RESTORE REPLICA query 2021-08-04 23:07:38 +03:00
pdv-ru
3a27b724d0 edit h3ToGeo function 2021-08-04 22:47:38 +03:00
Alexey
42c5cd80d9 Yet another header.
Other changes.
2021-08-03 20:47:09 +00:00
lehasm
c7b520aabc
Update docs/en/sql-reference/statements/attach.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-03 23:07:12 +03:00
lehasm
b073d2b88c
Update docs/en/sql-reference/statements/rename.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-03 23:06:39 +03:00
lehasm
90a682df13
Update docs/en/sql-reference/statements/rename.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-03 23:05:48 +03:00
lehasm
1ad5606c52
Update docs/en/sql-reference/statements/exchange.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-03 23:05:32 +03:00
lehasm
45e98e20c1
Update docs/en/sql-reference/statements/detach.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-03 23:04:57 +03:00
lehasm
2b6ffab384
Update docs/en/sql-reference/statements/detach.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-03 23:03:13 +03:00
Alexey Boykov
b52250bc0d
Merge pull request #26792 from michon470/kuriatnikovm-DOCSUP-9735-clarification-about-WITH-FILL
DOCSUP-9735: clarification about WITH FILL
2021-08-03 14:32:17 +03:00
michon470
d10835f223
Update docs/en/sql-reference/statements/select/order-by.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-08-02 20:14:22 +03:00
michon470
e03539fdd4
Update docs/en/sql-reference/statements/select/order-by.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-08-02 20:14:09 +03:00
michon470
c5df30594d
Update docs/en/sql-reference/statements/select/order-by.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-08-02 20:13:58 +03:00
michon470
1a4d9fec9b
Update docs/en/sql-reference/statements/select/order-by.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-08-02 20:13:48 +03:00
michon470
36c6d7e1c0
Update docs/en/sql-reference/statements/select/order-by.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-08-02 20:13:35 +03:00
Alexey
722e092059 Updates 2021-08-01 16:17:50 +00:00
Alexey
0a36d8a607 SET moved in the TOC 2021-08-01 13:03:02 +00:00
Alexey
788e690ba8 First draft 2021-08-01 13:02:35 +00:00
万康
66631ca680 add column default_database 2021-08-01 08:11:01 +08:00
Ilya Yatsishin
5f70ffac00
Merge pull request #26878 from Slach/improve_alter_modify_column
add MODIFY COLUMN compression codec section, sync RU and EN formatting and links
2021-07-30 13:41:39 +03:00
PHO
6425dd001a
Add a codec AES_128_GCM_SIV for encrypting columns on disk (#19896)
* Add a codec Encrypted() for encrypting columns on disk

While this is implemented as a compression codec, it does not actually compress data. It instead encrypts data on disk. The key is obtained by executing a user-specified command at the server startup, or if it's not specified the codec refuses to process any data. For now the only supported cipher is 'AES-128-GCM-SIV'.
2021-07-30 12:12:33 +03:00
Filatenkov Artur
395b41bf8e
Merge branch 'master' into kuriatnikovm-DOCSUP-9735-clarification-about-WITH-FILL 2021-07-29 20:55:01 +03:00
Mikhail
17570868bd some corrections and translation 2021-07-29 19:17:48 +03:00
Alexey Milovidov
df3be36758 Remove trailing whitespaces from docs 2021-07-29 18:27:50 +03:00
Alexey Milovidov
d87d833691 Remove trailing whitespaces from docs 2021-07-29 18:20:55 +03:00
Alexey Boykov
d1935b587e
Update column.md
Delete repeating paragraph.
2021-07-29 15:14:32 +03:00
Roman Bug
0a3d021f84
Update system.md 2021-07-29 10:44:44 +03:00
Slach
f9c6df4d64 fix review comment https://github.com/ClickHouse/ClickHouse/pull/26878#discussion_r678505904
Signed-off-by: Slach <bloodjazman@gmail.com>
2021-07-28 23:21:58 +05:00
Eugene Klimov
fa6f8242c3
Update docs/en/sql-reference/statements/alter/column.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-07-28 20:53:45 +05:00
Slach
c3c4cbf067 add MODIFY COLUMN compression codec section, sync RU and EN formatting and links
Signed-off-by: Slach <bloodjazman@gmail.com>
2021-07-28 14:41:41 +05:00
michon470
08a7140882
Update docs/en/sql-reference/statements/select/order-by.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-07-28 04:18:33 +03:00
michon470
d541cd5c00
Update docs/en/sql-reference/statements/select/order-by.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-07-28 04:18:16 +03:00
Alexey
133586b625 Translated to russian 2021-07-26 05:34:45 +00:00
lehasm
5f977baae3
Update docs/en/sql-reference/statements/alter/setting.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-07-26 08:03:16 +03:00
lehasm
32601bb503
Update docs/en/sql-reference/statements/alter/setting.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-07-26 08:03:03 +03:00
lehasm
9f5c491237
Update docs/en/sql-reference/statements/alter/setting.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-07-26 08:02:53 +03:00
lehasm
c31606038b
Update docs/en/sql-reference/statements/alter/setting.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-07-26 08:02:42 +03:00
Mikhail
c0352044cd Update order-by.md
Requested edit.
2021-07-26 07:17:29 +03:00
Mikhail
e4027755ad Update order-by.md
Some minor corrections.
2021-07-26 07:09:54 +03:00
Alexey
423b605db8 Both MODIFY and RESET SETTING 2021-07-25 15:11:19 +00:00
Alexey
f8ee98115f Page with RESET SETTING 2021-07-25 14:11:17 +00:00
Alexey
39e2567e60 temp 2021-07-24 08:41:37 +00:00
Alexey
df274daa3a reset.md added 2021-07-24 08:38:11 +00:00
Vitaly Baranov
67d4da224a
Merge pull request #26384 from Cas-pian/grant_by_replace
add grant by replace support
2021-07-23 14:40:47 +03:00
Caspian
eab4cb3cdc use new syntax, update docs 2021-07-21 23:08:38 +08:00
Vladimir
dfc7fdabb0
Merge pull request #26335 from olgarev/revolg-DOCSUP-9868_implicit_key_type_convertion 2021-07-20 14:41:15 +03:00
Caspian
7c6dc56bcd
Merge branch 'master' into grant_by_replace 2021-07-20 17:41:12 +08:00
Vladimir
5d270f82f5
Apply suggestions from code review 2021-07-20 12:19:19 +03:00
Olga Revyakina
b7f3305621 Exception 2021-07-20 10:28:06 +03:00
Olga Revyakina
1d3bc13753 Anchor 2021-07-19 21:03:36 +03:00
olgarev
7d184b7acf
Apply suggestions from code review
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-07-19 20:49:17 +03:00
Andy Liang
cbdcfaaee7
table.md compression codec example sql
The example SQL is missing a comma ","
2021-07-18 11:06:08 -04:00
caspian
1497fc4290 update docs 2021-07-16 16:57:04 +08:00
caspian
1723a522cc update docs 2021-07-16 10:13:04 +08:00
Olga Revyakina
1258c9aaa6 Algorithms description 2021-07-15 11:17:37 +03:00
Olga Revyakina
a2fb64c108 join_algorithm setting 2021-07-15 09:50:44 +03:00
Olga Revyakina
57f7861e59 En and Ru docs 2021-07-15 09:21:26 +03:00
alexey-milovidov
7e0433bf07
Merge pull request #25904 from xjewer/alex/add_index_first
CLICKHOUSE-1194: add skipping index to the beginning of the list
2021-07-03 04:55:00 +03:00
Aleksei Semiglazov
f47e1ff102
CLICKHOUSE-1194: add skipping index to the beginning of the list
add the FIRST keyword to the ADD INDEX command to be able to add index in the beginning of the list.

Signed-off-by: Aleksei Semiglazov <asemiglazov@cloudflare.com>
2021-07-01 19:37:48 +01:00
Slach
b64eb0ff07 add DELETE IN PARTITION and UPDATE IN PARTITION into ALTER syntax TOC
Signed-off-by: Slach <bloodjazman@gmail.com>
2021-06-28 19:21:53 +05:00
Maksim Kita
db1c70975e Compile expressions updated documentation 2021-06-25 23:27:18 +03:00
Mike Kot
4c391f8e99
SYSTEM RESTORE REPLICA replica [ON CLUSTER cluster] (#13652)
* initial commit: add setting and stub

* typo

* added test stub

* fix

* wip merging new integration test and code proto

* adding steps interpreters

* adding firstly proposed solution (moving parts etc)

* added checking zookeeper path existence

* fixing the include

* fixing and sorting includes

* fixing outdated struct

* fix the name

* added ast ptr as level of indirection

* fix ref

* updating the changes

* working on test stub

* fix iterator -> reference

* revert rocksdb submodule update

* fixed show privileges test

* updated the test stub

* replaced rand() with thread_local_rng(), updated the tests

updated the test

fixed test config path

test fix

removed error messages

fixed the test

updated the test

fixed string literal

fixed literal

typo: =

* fixed the empty replica error message

* updated the test and the code with logs

* updated the possible test cases, updated

* added the code/test milestone comments

* updated the test (added more testcases)

* replaced native assert with CH one

* individual replicas recursive delete fix

* updated the AS db.name AST

* two small logging fixes

* manually generated AST fixes

* Updated the test, added the possible algo change

* Some thoughts about optimizing the solution:

ALTER MOVE PARTITION .. TO TABLE -> move to detached/ + ALTER ... ATTACH

* fix

* Removed the replica sync in test as it's invalid

* Some test tweaks

* tmp

* Rewrote the algo by using the executeQuery instead of

hand-crafting the ASTPtr.

Two questions still active.

* tr: logging active parts

* Extracted the parts moving algo into a separate helper function

* Fixed the test data and the queries slightly

* Replaced query to system.parts to direct invocation,

started building the test that breaks on various parts.

* Added the case for tables when at least one replica is alive

* Updated the test to test replicas restoration by detaching/attaching

* Altered the test to check restoration without replica restart

* Added the tables swap in the start if the server failed last time

* Hotfix when only /replicas/replica... path was deleted

* Restore ZK paths while creating a replicated MergeTree table

* Updated the docs, fixed the algo for individual replicas restoration case

* Initial parts table storage fix, tests sync fix

* Reverted individual replica restoration to general algo

* Slightly optimised getDataParts

* Trying another solution with parts detaching

* Rewrote algo without any steps, added ON CLUSTER support

* Attaching parts from other replica on restoration

* Getting part checksums from ZK

* Removed ON CLUSTER, finished working solution

* Multiple small changes after review

* Fixing parallel test

* Supporting rewritten form on cluster

* Test fix

* Moar logging

* Using source replica as checksum provider

* improve test, remove some code from parser

* Trying solution with move to detached + forget

* Moving all parts (not only Committed) to detached

* Edited docs for RESTORE REPLICA

* Re-merging

* minor fixes

Co-authored-by: Alexander Tokmakov <avtokmakov@yandex-team.ru>
2021-06-20 11:24:43 +03:00
Vladimir Goncharov
abf4bf832b
Update projection.md
Currently WHERE is not supported.
2021-06-19 18:32:18 +03:00
Vladimir Goncharov
da4dc26975
Update projection.md 2021-06-19 18:15:25 +03:00
Vladimir Goncharov
ebf9681888
Create projection.md
info about manipulating projections based on RFC #14730
2021-06-18 19:55:42 +03:00
AnaUvarova
68b20a934a
DOCSUP-6543: Edit and translate Show Clusters and MergeTree (#24130)
* +

* ready for review

* Update docs/ru/sql-reference/statements/show.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update merge-tree-settings.md

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update merge-tree-settings.md

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update merge-tree-settings.md

* about fsync

* Update merge-tree-settings.md

* Update merge-tree-settings.md

* Update merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-15 15:21:44 +03:00
tavplubix
805171c41f
Merge pull request #24546 from damozhaeva/dmozhaeva-DOCSUP-8448-russian
DOCSUP-8448: [CLICKHOUSEDOCS] Edit and translate to Russian
2021-06-07 14:45:11 +03:00
Pavel Kruglov
0a70304085 Remove database before model name in docs 2021-06-07 13:10:51 +03:00
Kruglov Pavel
78f1ecb71f
Merge pull request #24890 from sevirov/sevirov-DOCSUP-8709-document_reload_model_and_reload_models_system_queries
DOCSUP-8709: Document RELOAD MODEL and RELOAD MODELS system queries
2021-06-07 11:12:12 +03:00
Dmitriy
d8271c0705 Translate to Russian
Перевел на русский язык.
2021-06-04 20:38:05 +03:00
adevyatova
4ae1c95e54 minor fix 2021-06-03 12:27:17 +00:00
adevyatova
cdd8a1cc4b minor fix 2021-06-03 11:25:30 +00:00
Anna
b33b4afcba
Merge branch 'master' into annadevyatova-DOCSUP-7864-unfreeze 2021-06-03 14:15:47 +03:00
Dmitriy
2dc39edc44 Fix the link
Поправил ссылку.
2021-06-03 00:48:14 +03:00
Dmitriy
d675510d7b Add RELOAD MODELS and RELOAD MODEL system queries
Добивал описание системных запросов.
2021-06-02 23:44:51 +03:00
Alexander Kuzmenkov
4f129d3f93
Merge pull request #24084 from atereh/terehova-DOCSUP-5919-query_optimize_upd_description
DOCSUP-5919: Update OPTIMIZE description in docs
2021-06-01 13:50:01 +03:00
Alexander Kuzmenkov
24d1d7b6c1
Update docs/en/sql-reference/statements/optimize.md 2021-06-01 13:49:24 +03:00
Kseniia Sumarokova
67e2695e8b
Merge pull request #24548 from kirillikoff/DOCSUP-9474-document-table-comments
Docsup 9474: document table comments
2021-05-31 11:11:27 +03:00
kirillikoff
fa8a0ca69d
Update table.md 2021-05-31 10:00:19 +03:00
adevyatova
68b1084355 add en docs 2021-05-30 13:28:21 +00:00
kirillikoff
0ca47b2d1a
Update docs/en/sql-reference/statements/create/table.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-29 18:23:59 +03:00
kirillikoff
33ec902597
Update docs/en/sql-reference/statements/create/table.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-29 18:23:49 +03:00
Tatiana Kirillova
ee049678a1 Translation into Russian and system.tables 2021-05-29 16:42:21 +03:00
Daria Mozhaeva
e8c7331256 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into dmozhaeva-DOCSUP-8448-russian 2021-05-28 12:04:58 +03:00
kirillikoff
d537da1871
Update docs/en/sql-reference/statements/create/table.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-28 11:30:24 +03:00
kirillikoff
693df20ccc
Update docs/en/sql-reference/statements/create/table.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-28 11:30:19 +03:00
Nikolai Kochetov
6733fb42d5
Merge pull request #24278 from sevirov/sevirov-DOCSUP-9041-update_the_sql_statement_explain_plan
DOCSUP-9041: Update the SQL-statement EXPLAIN PLAN
2021-05-28 10:19:49 +03:00
alexey-milovidov
e427d91dd6
Merge pull request #24586 from romainneutron/polish-english-doc
Polish english doc
2021-05-28 00:16:16 +03:00
Kseniia Sumarokova
ee4f42a991
Merge pull request #24430 from lehasm/alexey-sm-DOCSUP-8939-document-insert_null_as_default
DOCSUP-8939: document the insert_null_as_default setting
2021-05-27 23:24:16 +03:00
Romain Neutron
d3be14e639
Fix ClickHouse characters case 2021-05-27 21:49:41 +02:00
Romain Neutron
7b515c7235
Avoid short syntax 2021-05-27 21:44:11 +02:00
Dmitriy
34cd08e732 Update explain.md
Поправил определение для indexes.
2021-05-27 20:41:25 +03:00
Tatiana Kirillova
a134507492 Document table comments update 2021-05-26 21:36:38 +03:00
Tatiana Kirillova
ea16fb3c8a Document table comments 2021-05-26 21:12:52 +03:00
Amir Vaza
24990449f5
Typo 2021-05-26 16:08:53 +03:00
Daria Mozhaeva
1151f13fed Edit and translate to Russian 2021-05-26 15:38:54 +03:00
Alina Terekhova
3782d6bba2 Output row number deleted 2021-05-26 13:34:28 +02:00
Dmitriy
d7138ee062 Translate to Russian
Выполнил перевод на русский язык.
2021-05-25 23:51:59 +03:00
sevirov
89230ea6e4
Update docs/en/sql-reference/statements/explain.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-25 23:21:16 +03:00
Alexey
845b33cb1f Text block moved 2021-05-25 18:25:55 +00:00
Alexey
715c88e5fa Returned INSERT ... VALUES statement.
'non-Nullable' changed to 'not nullable'
2021-05-24 15:26:23 +00:00
Denny Crane
12a0563741
PREWHERE+FINAL 2021-05-23 19:47:29 -03:00
Alexey
a3640cd7ea Description updated 2021-05-23 20:02:17 +00:00
Dmitriy
4360daf0cb Add json setting in EXPLAIN PLAN
Добавил настройку json в EXPLAIN PLAN.
2021-05-19 13:25:33 +03:00
Chao Ma
d85fd73bea Fix official website documents error about grant-drop section 2021-05-18 14:58:45 +08:00
Alina Terekhova
7dde67a94e Updated examples 2021-05-17 22:50:02 +02:00
Alina Terekhova
4b33108dac
remove ticks from Note
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-17 22:13:41 +02:00
Alina Terekhova
808f3c8791
remove Valid cases
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-17 22:13:18 +02:00
Alina Terekhova
8e75e0ccde
remove DROP
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-17 22:12:15 +02:00
Alina Terekhova
9c279c0c28
consider the table
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-17 22:11:53 +02:00
Vitaly Baranov
284171517f
Merge pull request #23940 from sevirov/sevirov-DOCSUP-7668-update_the_sql_statement_create_alter_user
DOCSUP-7668: Update the SQL-statement CREATE/ALTER USER
2021-05-14 08:37:54 +03:00
Dmitriy
2c9530484d Update user.md
Сделал ссылку на GRANT OPTION.
2021-05-14 00:46:57 +03:00
Dmitriy
7e235f9836 corrections according to the comments
Исправил согласно комментариям в PR.
2021-05-13 23:05:11 +03:00
Alina Terekhova
b0a54989af Link edited 2021-05-13 10:52:50 +02:00
Nikita Mikhalev
ad73b7440f
Adding a note that Buffer engine does not support TRUNCATE statement 2021-05-12 11:00:13 +05:00
Nikolai Kochetov
4ff612f2c3
Merge pull request #23701 from sevirov/sevirov-DOCSUP-5885-update_the_sql_statement_explain_ast
DOCSUP-5885: Update the SQL-statement EXPLAIN AST
2021-05-11 11:14:51 +03:00
Dmitriy
d0db5623c1 Translate to Russian
Выполнил перевод на русский язык.
2021-05-10 22:51:26 +03:00
sevirov
b95594b5d3
Update docs/en/sql-reference/statements/create/user.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-09 18:50:11 +03:00
sevirov
6e819f9f80
Update docs/en/sql-reference/statements/alter/user.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-09 18:50:03 +03:00
sevirov
89f9f7def6
Update docs/en/sql-reference/statements/create/user.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-09 18:49:44 +03:00
sevirov
359bef442f
Update docs/en/sql-reference/statements/create/user.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-09 18:49:37 +03:00
sevirov
2724f3fc48
Update docs/en/sql-reference/statements/create/user.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-09 18:49:30 +03:00
sevirov
81e02e821f
Update docs/en/sql-reference/statements/alter/user.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-09 18:49:21 +03:00
sevirov
0d75d7b87c
Update docs/en/sql-reference/statements/alter/user.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-09 18:49:09 +03:00