Commit Graph

357 Commits

Author SHA1 Message Date
Vitaly Baranov
6c75197039
Merge pull request #19488 from olgarev/revolg-DOCSUP-5917-SHOW_ACCESS_statement
DOCSUP-5917: Docs for SHOW ACCESS statement
2021-01-27 14:14:16 +03:00
Maksim Kita
5baa981ed4
Merge pull request #19682 from bharatnc/ncb/fix-table-function-doc
Docs - fixes the docs for table function
2021-01-27 13:00:19 +03:00
Alexey Milovidov
3562250594 Remove outdated index_granularity from docs 2021-01-27 03:58:48 +03:00
Olga Revyakina
22a0354d2a Wrong syntax fixed 2021-01-27 01:40:14 +03:00
Olga Revyakina
a767eb5b51 Syntax (headings) unified 2021-01-27 00:25:34 +03:00
Olga Revyakina
924e5c6ad3 Old syntax deleted 2021-01-27 00:20:49 +03:00
bharatnc
b51c74c3e8 Fixes the docs for table function 2021-01-26 10:49:56 -08:00
Dmitriy
9f4e51d36b Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-4918-update_description_final 2021-01-26 19:35:41 +03:00
Anna
c8b6774a75 correction 2021-01-25 23:48:54 +03:00
Anna
7dedfba800 fix link 2021-01-25 23:32:05 +03:00
Dmitriy
d121eb4787 Update the description of the SELECT queries with FINAL
Объяснил преимущество параллельности SELECT запросов с модификатором FINAL..
2021-01-25 23:31:06 +03:00
Anna
6634432253 Correction 2021-01-25 23:17:08 +03:00
Anna
6137e5530f Update examples 2021-01-25 22:17:46 +03:00
Anna
cec83bb76a Update 2021-01-25 21:49:13 +03:00
Anna
2a66eab876
Merge branch 'master' into annadevyatova-DOCSUP-5634-replace 2021-01-25 20:10:42 +03:00
Anna
ae4a2e9c6f Add REPLACE query desc 2021-01-23 22:46:24 +03:00
Olga Revyakina
24c0d1ecdc Multiple names in SHOW GRANTS 2021-01-23 16:35:26 +03:00
Olga Revyakina
cecd201a3b Multiple names
Multiple names in CREATE, ALTER, SHOW CREATE for USERS, ROLES, ROW POLICIES, SETTINGS PROFILES, and SHOW CREATE QUOTAS
2021-01-23 16:14:01 +03:00
Olga Revyakina
cc5022f312 Docs for SHOW ACCESS statement (en, ru) 2021-01-23 08:33:05 +03:00
Olga Revyakina
5bb3c89413 CREATE QUOTA and ALTER QUOTA syntax updated. 2021-01-23 07:38:49 +03:00
Nikita Mikhaylov
3634e87d16
Merge pull request #19090 from ka1bi4/romanzhukov-DOCSUP-5272-translation
DOCSUP-5272: Edit and translate to RU: primary key in create table statement.
2021-01-21 15:35:22 +03:00
romanzhukov
8da4aa5bf0 DOCSUP-5272: fix PR and ticket comments 2021-01-20 20:10:35 +03:00
Anton Popov
0d6aba6e2e
Merge pull request #19208 from adevyatova/annadevyatova-DOCSUP-4439-clusters
DOCSUP-4439: Add SHOW CLUSTER(s) queries docs
2021-01-20 14:31:00 +03:00
Anna
29dab7cba1
Update show.md
Fix syntax
2021-01-19 20:45:56 +03:00
alexey-milovidov
cf69fbd1fc
Merge pull request #18984 from olgarev/revolg-DOCSUP-4645-optimize_aggregation_in_order_setting
DOCSUP-4645: Documented optimize_aggregation_in_order setting
2021-01-19 17:39:25 +03:00
tavplubix
521179c6db
Merge pull request #18983 from olgarev/revolg-DOCSUP-4960-Settings_in_Select
DOCSUP-4960: SETTINGS clause in SELECT
2021-01-18 13:04:43 +03:00
Olga Revyakina
17b2ca2374 Fixes 2021-01-17 20:05:46 +03:00
Dmitriy
936020b381 Update the description of FINAL
Задокументировал настройку max_final_threads и обновил описание запросов с FINAL.
2021-01-17 16:25:20 +03:00
Anna
921c39443d add examples 2021-01-17 16:24:58 +03:00
Anna
104c4a662f Merge branch 'master' into annadevyatova-DOCSUP-4439-clusters 2021-01-17 15:58:08 +03:00
Olga Revyakina
fe5053df95 Added note about memory usage 2021-01-17 00:35:41 +03:00
Olga Revyakina
489fa1e083 Fixes and translation to Ru 2021-01-16 13:30:15 +03:00
Olga Revyakina
95c8018b46 Fixes and translation to Ru 2021-01-16 12:58:08 +03:00
alexey-milovidov
7b4db1436b
Merge pull request #19024 from den-crane/patch-5
Doc. tuple() is required in part expressions
2021-01-15 14:08:30 +03:00
Denny Crane
7c8ec40555
Update partition.md 2021-01-14 14:31:26 -04:00
Denny Crane
55986d0383
Update partition.md 2021-01-14 14:24:49 -04:00
romanzhukov
812f8ee197 DOCSUP-5272: primary key crosslink in doc 2021-01-14 21:10:32 +03:00
Denny Crane
2c41360270
Update partition.md 2021-01-14 13:57:02 -04:00
romanzhukov
5c97e47393 DOCSUP-5272: Add PR#17213 translation to RU 2021-01-14 20:50:32 +03:00
alexey-milovidov
ac1c17ac76
Merge pull request #17993 from olgarev/revolg-DOCSUP-4737-Fix_COLUMNS_sintax
DOCSUP-4737: Fixed columns syntax
2021-01-14 15:30:53 +03:00
alexey-milovidov
ff4fe7698e
Update insert-into.md 2021-01-14 15:29:44 +03:00
alexey-milovidov
bf8d58d2e8
Merge pull request #18723 from ucasFL/select-all
add SELECT ALL syntax
2021-01-14 11:53:09 +03:00
alexey-milovidov
445283c726
Update index.md 2021-01-14 11:52:19 +03:00
Denny Crane
ae017c10d3
Update partition.md
tuple req. in part expressions
2021-01-13 18:55:24 -04:00
Olga Revyakina
360721763c Docs in En 2021-01-13 02:25:21 +03:00
Olga Revyakina
d3b7fa1a77 Docs in En 2021-01-13 02:05:09 +03:00
alesapin
163be41718
Merge pull request #17059 from AnaUvarova/ana-uvarova-DOCSUP-3122-update-alter
DOCSUP-3122: Document two expressions ALTER
2021-01-12 14:04:46 +03:00
alesapin
fb966f3dbf
Update column.md 2021-01-12 12:20:57 +03:00
alesapin
a3b63b86fa
Update column.md 2021-01-12 12:18:00 +03:00
alesapin
cbad45bd4f
Update ttl.md 2021-01-12 12:06:39 +03:00
Denny Crane
2073831aa8
Update distinct.md
removed an outdated note
2021-01-11 19:55:58 -04:00
feng lv
dd884349ac update document 2021-01-04 14:34:22 +00:00
alexey-milovidov
278dda04a6
Update union.md 2020-12-30 16:59:04 +03:00
ana-uvarova
8b03bef74e order fixes 2020-12-30 02:36:04 +03:00
ana-uvarova
0c2b4189ac output format fix and en-ru similarity fix 2020-12-30 02:24:41 +03:00
Dmitriy
c84d02c658 Update union.md
Изменил возможность записывать подзапросы с union в круглых скобках.
2020-12-29 23:54:11 +03:00
Dmitriy
bb290e185f Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-4617-document_union_default_mode_setting 2020-12-29 19:59:30 +03:00
Anna
5b544b5850 add desc for SHOW CLUSTERS 2020-12-28 00:45:07 +03:00
Anna
45b8ddd7ab fixed 2020-12-27 14:47:15 +03:00
Dmitriy
cc034b3373 Update union.md
Подкорректировал английскую и русскую версии.
2020-12-27 11:36:18 +03:00
Anna
51b76f7367 add desc for NULL modifiers 2020-12-26 15:43:09 +03:00
ana-uvarova
2321d9529c review comments 2020-12-24 22:45:19 +03:00
Dmitriy
30d38bf9c4 Update union.md
Переструктурировал текст.
2020-12-24 21:04:32 +03:00
Dmitriy
31e4512c3d One UNION section.
Объединил все в один раздел UNION.
2020-12-23 22:36:20 +03:00
alexey-milovidov
bf6850187c
Update column.md 2020-12-21 19:49:39 +03:00
Anna
982123a994 reduce 2020-12-21 11:30:02 +03:00
Anna
7f675aacbe fixed 2020-12-21 11:22:41 +03:00
Olga Revyakina
cfbb32ec87 Upd - about modifiers 2020-12-20 18:18:47 +03:00
Olga Revyakina
c88ad61b90 Merge remote-tracking branch 'origin/master' into revolg-DOCSUP-4737-Fix_COLUMNS_sintax 2020-12-20 18:11:45 +03:00
Anna
056d55c628 update alter ... add | modify column 2020-12-19 00:19:01 +03:00
ana-uvarova
ba2c53c4df Russian done 2020-12-17 11:02:46 +03:00
Dmitriy
9c86559334 Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-4617-document_union_default_mode_setting 2020-12-16 23:28:22 +03:00
Dmitriy
77e10884fc Document union_default_mode setting
Задокументировал настройку union_default_mode.
2020-12-16 20:04:16 +03:00
ana-uvarova
e85a6c4851 Final edits before the review. 2020-12-14 23:24:17 +03:00
Dmitriy
698737681a Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-4919-document_replication_queue_system_table 2020-12-13 23:41:22 +03:00
ana-uvarova
3286ce1b38 example1 2020-12-13 22:12:39 +03:00
Dmitriy
629f5f0797 Update replication_queue.md
Выполнил перевод на русский язык, внес изменения в английскую версию.
2020-12-13 18:42:34 +03:00
alexey-milovidov
436adf34df
Merge pull request #17881 from gyuton/gyuton-DOCSUP-4263-Update_the_sql_statement_ORDER_BY
DOCSUP-4263: Updated the sql statement order by
2020-12-13 04:37:29 +03:00
George
9b1d919110 more troubleshooting 2020-12-12 06:39:22 +03:00
George
3794cb2d3f troubleshooting the error 2020-12-12 05:48:23 +03:00
George
cabe1463d1 fixed an error 2020-12-12 03:39:45 +03:00
Olga Revyakina
c8e1f72f22 Fixed 2020-12-11 08:50:08 +03:00
alexey-milovidov
71978cbbf8
Merge pull request #17851 from zhangjmruc/master
Fix translated errors and update misc to latest
2020-12-10 22:58:15 +03:00
ana-uvarova
528dca0f63 order 2020-12-10 11:13:09 +03:00
George
4e49c59ed0 minor fix 2020-12-08 04:55:57 +03:00
George
6be3933cea fixed links v2 2020-12-08 04:27:26 +03:00
George
8760fc1227 Fixed links 2020-12-08 04:07:34 +03:00
George
1f0cfbaca8 Added Collation description 2020-12-08 03:51:41 +03:00
ana-uvarova
ac4e99529b ++ 2020-12-07 21:55:17 +03:00
Alexey Milovidov
1ed329017b Merge branch 'master' into quota-by-x-forwarded-for 2020-12-07 18:22:19 +03:00
jianmei zhang
8ecd565441 Fix translated errors and update misc to latest 2020-12-07 13:28:09 +08:00
ana-uvarova
6111601265 + 2020-12-06 15:20:45 +03:00
ana-uvarova
0042c4e878 ++ 2020-12-06 15:00:56 +03:00
Olga Revyakina
66c7f611e2 Syntax fixed 2020-12-05 04:19:29 +03:00
Anna
ac0ebd515e
DOCSUP-4193: Document the EXPLAIN statement (#17734)
* Add EXPLAIN query description

* Check examples

* update

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

Co-authored-by: BayoNet <da-daos@yandex.ru>

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

Co-authored-by: Nikolai Kochetov <KochetovNicolai@users.noreply.github.com>

Co-authored-by: BayoNet <da-daos@yandex.ru>
Co-authored-by: Nikolai Kochetov <KochetovNicolai@users.noreply.github.com>
2020-12-04 21:24:05 +03:00
ana-uvarova
05657b10d1 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into ana-uvarova-DOCSUP-3122-update-alter 2020-12-04 16:12:11 +03:00
Ilya Yatsishin
6957e0de87
Merge pull request #17452 from sevirov/sevirov-DOCSUP-4266-document_alter_update_delete_partition
DOCSUP-4266: Document the SQL-statement ALTER UPDATE/DELETE ... IN PARTITION
2020-12-04 14:40:51 +03:00
Matthew Peveler
f29d374211
Fix note display on alter/index doc
Signed-off-by: Matthew Peveler <matt.peveler@popsql.com>
2020-12-03 16:29:28 +02:00
Alexey Milovidov
5cd112969f Update docs 2020-12-03 00:19:29 +03:00
Dmitriy
aca04ebc87 Update files in the 'alter'.
Внес поправки в английскую версию, выполнил перевод на русский язык, подкорректировал некоторые файлы в 'ALTER'.
2020-12-02 23:26:48 +03:00
Anna Shakhova
4479cfbcb0
DOCSUP-3871: Document prefer_not_to_merge option (#17090)
* Init commit

* Translation

* Fixed

* Fixed

* Fixed

* Fixed
2020-12-02 22:03:24 +03:00
Matthew Peveler
a8c66f9ada
Fix typo in alter/index docs
Signed-off-by: Matthew Peveler <matt.peveler@popsql.com>
2020-12-01 19:21:39 +02:00
Dmitriy
5b505dd749 Update partition.md
Внес поправки в английскую версию.
2020-11-30 23:33:30 +03:00
olgarev
fe00f70424
DOCSUP-4194: Updated CREATE TABLE statement with PRIMARY KEY section (#17213)
* Section added

* Syntax corrected

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
2020-11-30 18:09:46 +03:00
Dmitriy
3db2d4d0ac Update partition.md
Внес поправки в общий вид запроса IN PARTITION.
2020-11-28 13:07:10 +03:00
sevirov
2c6ba4a3ab
DOCSUP-4264: Update the SQL-statement ALTER TABLE DROP DETACH PART (#17374)
* Update partition.md

Обновил подразделы DETACH PARTITION и DROP PARTITION.

* Update partition.md

Сделал изменения в русской версии.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-11-28 11:27:31 +03:00
Dmitriy
9f35b2a8f0 Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-4266-document_alter_update_delete_partition 2020-11-26 23:29:35 +03:00
Dmitriy
a0ea8a25f1 Update partition.md
Правлю битую ссылку.
2020-11-26 20:47:34 +03:00
Dmitriy
3f4f1c7671 Update partition.md
Добавил новый подраздел UPDATE | DELETE IN PARTITION.
2020-11-26 20:02:44 +03:00
ana-uvarova
89ba453c87 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into ana-uvarova-DOCSUP-3122-update-alter 2020-11-25 13:31:46 +03:00
Alexander Kuzmenkov
412c2fe079 Merge remote-tracking branch 'origin/master' into HEAD 2020-11-23 19:51:18 +03:00
Anna
e76f7c316b
DOCSUP-4280: Update the SELECT query (#17231)
* Add description for column modifiers

* Update index.md

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

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

Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-23 16:11:15 +03:00
olgarev
276ba42234
DOCSUP-2864: Documented WITH ROLLUP and WITH CUBE sections of the SELECT query (#17094)
* Docs en,ru

* Explanation added

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
2020-11-21 23:06:29 +03:00
Denny Crane
badb7b1ba5
Update group-by.md
removed obsolete info about groupby
2020-11-21 14:58:58 -04:00
Denny Crane
ceb42affdc
final_parallel 2020-11-19 15:56:00 -04:00
ana-uvarova
47169cb1bd new info draft 2020-11-19 19:22:34 +03:00
vdimir
428f42053b
Merge remote-tracking branch 'upstream/master' into source-clickhouse-usability 2020-11-16 22:34:28 +03:00
ana-uvarova
d9e2c92f51 ++ 2020-11-16 12:13:34 +03:00
ana-uvarova
c6e7f7c0f4 ++ 2020-11-16 12:08:10 +03:00
vdimir
66fc546331
Fix doc for LIFETIME statement 2020-11-14 16:45:42 +03:00
Anna
a1b1338281
DOCSUP-2869: Document section user_directories in the main config (#16340)
* DOCSUP-2869: Document section user_directories in the main config

* Update settings.md

* Update

* Commit for DOCSUP-3418

* Update

* Russian translation

* Fix typo
2020-11-13 16:08:38 +03:00
feng lv
9194985d48 Merge branch 'master' of github.com:ClickHouse/ClickHouse into union-distinct 2020-11-10 06:09:39 +00:00
sevirov
4eb684603a
Update order-by.md (#16770)
Заново сделал изменения в английскую и русскую версии.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-11-09 11:21:27 +03:00
ana-uvarova
de5ed997ba Draft. 2020-11-08 17:55:26 +03:00
Alexander Kuzmenkov
2a0d9da5e4 cleanup 2020-11-05 12:25:42 +03:00
Alexander Kuzmenkov
faf1f1e0cd Merge remote-tracking branch 'origin/master' into HEAD 2020-11-05 11:09:11 +03:00
damozhaeva
6db9ee4300
DOCSUP-3172: Edit and translate to Russian (#16153)
* Edit and traslate to Russian.

* Update docs/ru/engines/table-engines/integrations/kafka.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/ru/interfaces/http.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/ru/interfaces/http.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Ticket.

* http.

* kafka ru

Co-authored-by: Daria Mozhaeva <dmozhaeva@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-02 19:54:23 +03:00
feng lv
4d722bc52c fix conflict 2020-11-02 12:52:12 +00:00
Ekaterina
19794bee07
DOCSUP-2966: Update the INSERT INTO statement (#16404)
* Revert "Update version_date.tsv after release 20.7.4.11"

This reverts commit 9aff247afe.

* Added translation for feature.

* Fixed.

* Fixed.

* Fixed.

* Update docs/en/sql-reference/statements/insert-into.md

* Update docs/en/sql-reference/statements/insert-into.md

* Update docs/en/sql-reference/statements/insert-into.md

* Update docs/en/sql-reference/statements/insert-into.md

* Update docs/en/sql-reference/statements/insert-into.md

* Update docs/en/sql-reference/statements/insert-into.md

* Update docs/ru/sql-reference/statements/insert-into.md

* Update docs/ru/sql-reference/statements/insert-into.md

* Update docs/ru/sql-reference/statements/insert-into.md

* Update version_date.tsv

Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-10-29 21:27:37 +03:00
Anna
0f92fe9ad2
DOCSUP-3118: Document the named subqueries WITH AS (#16339)
* Update WITH desc

* Update docs/en/sql-reference/statements/select/with.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql-reference/statements/select/with.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql-reference/statements/select/with.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Fixed, ru translated

* Update docs/en/sql-reference/statements/select/with.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Fixed syntax description

* Update docs/ru/sql-reference/statements/select/with.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update

Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-10-29 21:22:28 +03:00
Mikhail Filimonov
41971e073a
Fix typos reported by codespell 2020-10-27 12:04:03 +01:00
feng lv
9b95ed9ead fix 2020-10-26 12:21:04 +00:00
Roman Bug
9ec78855cd
DOCSUP-2806: Add meta header in RU (#15801)
* DOCSUP-2806: Add meta intro.

* DOCSUP-2806: Update meta intro.

* DOCSUP-2806: Fix meta.

* DOCSUP-2806: Add quotes for meta headers.

* DOCSUP-2806: Remove quotes from meta headers.

* DOCSUP-2806: Add meta headers.

* DOCSUP-2806: Fix quotes in meta headers.

* DOCSUP-2806: Update meta headers.

* DOCSUP-2806: Fix link to nowhere in EN.

* DOCSUP-2806: Fix link (settings to tune)

* DOCSUP-2806: Fix links.

* DOCSUP-2806:Fix links EN

* DOCSUP-2806: Fix build errors.

* DOCSUP-2806: Fix meta intro.

* DOCSUP-2806: Fix toc_priority in examples datasets TOC.

* DOCSUP-2806: Fix items order in toc.

* DOCSUP-2806: Fix order in toc.

* DOCSUP-2806: Fix toc order.

* DOCSUP-2806: Fix order in toc.

* DOCSUP-2806: Fix toc index in create

* DOCSUP-2806: Fix toc order in create.

Co-authored-by: romanzhukov <romanzhukov@yandex-team.ru>
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-10-26 13:29:30 +03:00
sevirov
8f03e526a4
DOCSUP-3200: Edit and translate to Russian (#16204)
* Edit and translate

Отредактировал английскую версию текстов документов и перевел изменения на русский язык.

* Update trace_log.md

Исправляю битые ссылки.

* Fixing broken links

Исправил битые ссылки.

* Fixing broken links

Поправил битую ссылку, добавив раздел в русскую версию.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-10-26 13:09:41 +03:00
feng lv
a9e4c7144c fix 2020-10-26 09:33:34 +00:00
feng lv
5c192df20f update documents 2020-10-24 15:40:10 +00:00
sevirov
b8e754d68f
DOCSUP-3121: Update the SHOW DATABASES and SHOW TABLES descriptions (#16115)
* Update show.md

Update descriptions of show databases and show tables.

* Update show.md

Update 'identical query'.

* Update show.md

Внес поправки согласно комментариям.

* Update show.md

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

* Update show.md

Внес мелкие поправки.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-10-23 18:11:02 +03:00
Anna
d7014316b2
DOCSUP-2861: Translate on Russian (#16042)
* Translate on Russian

* Update docs/ru/sql-reference/statements/create/table.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/ru/sql-reference/statements/create/table.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/ru/sql-reference/statements/create/table.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-10-19 18:22:38 +03:00
Alexey Milovidov
db4db42b65 Fix broken links in docs 2020-10-13 20:23:29 +03:00
damozhaeva
e1fcbe749c
Edit and translate to Russian. (#15462)
Co-authored-by: Daria Mozhaeva <dmozhaeva@yandex-team.ru>
2020-10-13 18:29:28 +03:00
alexey-milovidov
a35c855902
Update table.md 2020-10-10 20:37:15 +03:00
Anna
064be8db54 Add desc for Default codec 2020-10-06 16:16:28 +03:00
Anna
0a9f6b1805
DOCSUP-2193: Describe SHOW queries for RBAC (#14515)
* Documentation for #10387, upd syntax by issues #12311, #12312

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

Co-authored-by: Anna Devyatova <annadevyatova@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-09-08 10:35:24 +03:00
bharatnc
59edda2e94 add note in docs about codec for ALIAS column type 2020-08-31 00:47:22 -07:00
Amos Bird
078b14610d
ALTER MODIFY SAMPLE BY 2020-08-27 22:31:30 +08:00
Roman Bug
899f93356f
romanzhukov-DOCSUP-2192: Split ALTER to separate files (ru) (#13905)
* DOCSUP-2192: Split alter section to separete files.

* DOCSUP-2192: Test.

* DOCSUP-2192: Fixed cross links.

* DOCSUP-2192: Fix links.

* DOCSUP-2192: Fix links.

* DOCSUP-2192: Fix links.

* DOCSUP-2192: Added alter delete and alter update topics.

* DOCSUP-2192: Fix one layout mistake and update links.

* DOCSUP-2192: Added delete and update sections. Updated alter index.md

* DOCSUP-2192: Fix links.

Co-authored-by: romanzhukov <romanzhukov@yandex-team.ru>
2020-08-25 18:38:36 +03:00
olgarev
6164e7373d
DOCSUP-791: Docs for optimize_read_in_order setting (#12611)
* Docs in English for optimize_read_in_order setting.

* Link misspelling fixed.

* Usage section moved to the ORDER BY topic.

* Link fixed.

* Update docs/en/sql-reference/statements/select/order-by.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql-reference/statements/select/order-by.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Apply suggestions from code review

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Apply suggestions from code review

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql-reference/statements/select/order-by.md

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

* Small fix in English and translation into Russian.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-08-10 16:33:39 +03:00
alexey-milovidov
7de9c2183a
Merge pull request #13517 from vladimir-golovchenko/fix-time-interval-for-create-alter-quota-queries
Fixed docs, document blocks and tests: added the missed types of interval (WEEK, MONTH, QUARTER, YEAR) to CREATE/ALTER QUOTA statements
2020-08-09 02:12:13 +03:00
vladimir golovchenko
84a8ad7da9 Fixed docs: added the missed types of interval (WEEK, MONTH, QUARTER, YEAR) to CREATE/ALTER QUOTA statements. 2020-08-08 01:16:56 -07:00
Alexander Millin
b7f08f447a
[docs] Fix system.md (#13332)
Co-authored-by: Alexander Millin <a.millin@city-mobil.ru>
2020-08-07 11:48:38 +03:00
Alexey Milovidov
b7ec7be296 Update docs 2020-08-02 01:02:46 +03:00
Alexey Milovidov
2dc74a8a54 Update documentation 2020-08-02 00:47:10 +03:00
olgarev
2aefe5fb77
DOCSUP-790: docs for mutations_sync setting (#12639)
* Docs in English.

* Fixed links bug.

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

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

* Translated into Russian. Anchors in links syncronized with English text. One minor change in English text to unify two similar descriptions.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-07-29 09:43:24 +03:00
Ivan Blinkov
0a2cd20570
Update detach.md 2020-07-23 23:02:54 +03:00
Ivan Blinkov
720cd5ca69
Update system.md 2020-07-23 23:02:47 +03:00
Ivan Blinkov
3ea7d8e5cd
Update describe-table.md 2020-07-23 23:02:18 +03:00
Ivan Blinkov
26b7ea0ad9
Update check-table.md 2020-07-23 23:01:28 +03:00
Ivan Blinkov
2fe8b8c65e
Update attach.md 2020-07-23 23:01:14 +03:00
Ivan Blinkov
9a8836a542
Update drop.md 2020-07-23 16:06:50 +03:00
Ivan Blinkov
6e77ef1052
Update exists.md 2020-07-23 16:06:24 +03:00
Ivan Blinkov
d89325fb19
Update kill.md 2020-07-23 16:06:02 +03:00
Ivan Blinkov
ea592c93f8
Update optimize.md 2020-07-23 16:05:37 +03:00
Ivan Blinkov
94b4c504d4
Update rename.md 2020-07-23 16:05:07 +03:00
Ivan Blinkov
fb93a911a6
Update set.md 2020-07-23 16:04:52 +03:00
Ivan Blinkov
9d8a96ea1b
Update set-role.md 2020-07-23 16:04:34 +03:00
Ivan Blinkov
a7b0210638
Update truncate.md 2020-07-23 16:04:13 +03:00
Ivan Blinkov
46e1dbfbd6
Update use.md 2020-07-23 16:03:56 +03:00
Denis Zhuravlev
813f5d3265
Doc. Update drop.md (#12644)
* Update drop.md

DROP VIEW added

* Update drop.md

* Update drop.md

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

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-07-21 22:24:08 +03:00
Denis Zhuravlev
ae8c6e57c1
Doc change. Update view.md (#12643)
* Update view.md

OR REPLACE / ON CLUSTER

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

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-07-21 22:22:33 +03:00
BayoNet
52f95e53fb
DOCS-229: insert_distributed_sync (#12579)
* Revolg docsup 727 insert distributed sync setting (#130)

* Add insert_distributed_sync setting

* insert_distributed_sync en doc upd

* Translated to russian.

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

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Added the link to the setting in the russian version.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update settings.md

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

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-07-21 15:40:03 +03:00
Artem Zuikov
ff372ec0f0
Standard join type syntax position (#12520) 2020-07-16 11:56:45 +03:00
Ivan Blinkov
ffe2cecb1b
[docs] split the ALTER article (#12502)
* initial split

* initial adjust links

* make en buildable

* re-normalize
2020-07-15 00:02:41 +03:00
Eugene Klimov
2a3292cf00
add ORDER BY ... WITH FILL, LIMIT... WITH TIES documentation to RU and EN locale (#12410)
* add ORDER BY ... WITH FILL documentation to RU and EN locale

Signed-off-by: Slach <bloodjazman@gmail.com>

* Update docs/en/sql-reference/statements/select/limit.md

* Update docs/en/sql-reference/statements/select/limit.md

* Update docs/ru/sql-reference/statements/select/order-by.md

* Update docs/en/sql-reference/statements/select/limit.md

* Update docs/en/sql-reference/statements/select/order-by.md

* Update docs/en/sql-reference/statements/select/order-by.md

* Update docs/en/sql-reference/statements/select/order-by.md

* Update docs/en/sql-reference/statements/select/order-by.md

* Update docs/en/sql-reference/statements/select/order-by.md

* Update docs/ru/sql-reference/statements/select/limit.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-07-14 00:52:40 +03:00
Ivan Blinkov
ceac649c01
[docs] split misc statements (#12403) 2020-07-11 14:05:49 +03:00
Ivan Blinkov
258d2fd499
[docs] split various kinds of CREATE queries into separate articles (#12328)
* normalize

* split & adjust links

* re-normalize

* adjust ru links

* adjust ja/tr links

* partially apply e0d19d2aea

* reset contribs
2020-07-09 18:10:35 +03:00
Ivan Blinkov
e0d19d2aea
[docs] engine family introduction refactoring (#12268)
* base refactoring

* adjust links

* Update index.md
2020-07-09 15:11:15 +03:00
Ivan Blinkov
9c829e3046
[docs] add intrdocution for statements page (#12189)
* [docs] add intrdocution for statements page

* Update index.md
2020-07-07 20:18:38 +03:00
Eugene Klimov
b508f7b77b
update SELECT description (#11907)
Signed-off-by: Slach <bloodjazman@gmail.com>
2020-06-24 15:58:31 +03:00
Alexander Tokmakov
7b5de16da9 minor improvements 2020-06-23 22:15:01 +03:00
amudong
7723dc4935 add drop relica database and the whole replica
fix removeReplicaByZKPath

fix bug: add zkpath empty judge

fix: rewrite code

delete useless code.

fix:ast fromat

fix bug

add test_drop_replica

add drop_replica doc

add drop databse checkAccess

refactor dropReplica

update tests

add static method StorageReplicatedMergeTree::dropReplicaByZkPath

update doc and delete useless code

fix conflict

fix doc

fix doc

fix StorageReplicatedMergeTree::dropReplica

fix bug

delete useless code
2020-06-23 12:12:30 +08:00
amudong
2e6a3eff8e fix: can not drop local table and replace ALTER with SYSTEM
fix test_drop_replica

fix drop replica '/path/to/zk/' ending in '/' and update doc
2020-06-23 12:12:30 +08:00
sundy-li
15ad830290 only drop inactive replica
update doc

Increase timeout to release the zookeeper Ephemeral nodes

Fix code comment

use PartitionManager

make integrations test passed
2020-06-23 12:12:30 +08:00
sundy-li
34df59baf8 Add tests and docs
Fix integration-tests
2020-06-23 12:12:30 +08:00
alexey-milovidov
32c7ff7d2c
Update create.md 2020-06-20 10:33:41 +03:00
alexey-milovidov
8139ce5985
Update create.md 2020-06-20 10:32:33 +03:00
Ivan Blinkov
7170f3c534
[docs] split aggregate function and system table references (#11742)
* prefer relative links from root

* wip

* split aggregate function reference

* split system tables
2020-06-18 11:24:31 +03:00
Nikita Mikhaylov
ab04a6bb62
Merge pull request #11615 from azat/SYSTEM-FLUSH-LOGS-force-table-creation-v2
Force table creation on SYSTEM FLUSH LOGS (v2)
2020-06-17 11:09:19 +04:00
BayoNet
f0eafed520
DOCS-678: Updated ASOF Join description (#11676)
* CLICKHOUSEDOCS-678: Updated ASOF Join Usage.

* CLICKHOUSEDOCS-678: Updated templates.

* Update docs/ru/sql-reference/statements/select/join.md

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

* CLICKHOUSEDOCS-678: Update by comments.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: emironyuk <em@don.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-15 21:55:04 +03:00
Azat Khuzhin
103eb17107 Force table creation on SYSTEM FLUSH LOGS (v2)
After this patch SYSTEM FLUSH LOGS will force system.*_log table
creatoins (only for enabled tables of course).

This will avoid such hacks like:

   set log_queries=1;
   select 1;
   system flush logs;

This is the second version of the patch, since first has a deadlock [1]
(reported by @alesapin). This version does not use separate lock and do
not issue CREATE TABLE from the query execution thread, instead it
activate flushing thread to do so, hence this should be the same as if
the table will be created during flush.

  [1]: https://gist.github.com/alesapin/d915d1deaa27d49aa31223daded02be2

Fixes: #11563
Cc: @alesapin
Cc: @nikitamikhaylov
2020-06-11 23:12:23 +03:00
Ivan Blinkov
cbc08bc393
Update index.md 2020-06-11 01:23:04 +03:00
Ivan Blinkov
6fa6439c69
fix link 2020-06-11 00:57:53 +03:00
Ivan Blinkov
f433ffaec6
Update index.md 2020-06-10 23:49:37 +03:00
Ivan Blinkov
b5b3cb1c05
Update index.md 2020-06-10 23:48:54 +03:00
Denis Zhuravlev
941887fbfd
removed a sentence about global lock during rename (#11577)
* Update misc.md

removed a sentence about global lock during rename

* Update misc.md

removed a sentence about global lock during rename

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

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

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

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

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-10 22:31:51 +03:00
Eugene Klimov
dfa60e01a0
add SYSTEM STOP/START FETCHES and SYNC REPLICA description (#11444)
* add SYSTEM STOP/START FETCHES and SYNC REPLICA description

Signed-off-by: Slach <bloodjazman@gmail.com>

* fix russian verion

Signed-off-by: Slach <bloodjazman@gmail.com>

* fix typo

Signed-off-by: Slach <bloodjazman@gmail.com>

* add START/STOP REPLICATED SENDS description

Signed-off-by: Slach <bloodjazman@gmail.com>

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

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

* sync russian and english version

Signed-off-by: Slach <bloodjazman@gmail.com>

* add SYSTEM START/STOP REPLICATION QUEUES

Signed-off-by: Slach <bloodjazman@gmail.com>

* add SYSTEM RESTART REPLICA

Signed-off-by: Slach <bloodjazman@gmail.com>

* add all missed SYSTEM statement descriptions

Signed-off-by: Slach <bloodjazman@gmail.com>

* fix missed link

Signed-off-by: Slach <bloodjazman@gmail.com>

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-08 18:23:13 +03:00
BayoNet
3ff28d0a7a
DOCS-112: any_join_distinct_right_table_keys (#11065)
* CLICKHOUSEDOCS-112: any_join_distinct_right_table_keys

* CLICKHOUSEDOCS-112: Updated link.

* CLICKHOUSEDOCS-112: Updated by comments.

* CLICKHOUSEDOCS-112: Updated by comments.

* CLICKHOUSEDOCS-112: Fixed grammar.

* CLICKHOUSEDOCS-112: Updated by comments.

* CLICKHOUSEDOCS-112: Fixed typo.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-05-26 18:10:56 +03:00
BayoNet
266fa9d99c
DOCS-627: Fixed language and markup in EN version and translated to RU. (#11001)
* DOCSUP-1063 (#114)

* added first draft

* added translation for force_optimize_skip_unused_shards and fixed anchors

* fixes

* fixes

* fixed alter.md

Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>

* CLICKHOUSEDOCS-627: Updated templated.

* Fixed markup.

* CLICKHOUSEDOCS-627: Fixed links.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: emironyuk <62014692+emironyuk@users.noreply.github.com>
Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>
2020-05-19 09:02:30 +03:00
BayoNet
c701493e30 DOCS-626: EN review, RU translations for RBAC docs (#10951)
* DOCSUP-1062 (#112)

* added first draft

* minor fixes

* fixed anchors

* yet another fixes

* and the minorest fixes

* Apply suggestions from doc review

Co-authored-by: BayoNet <da-daos@yandex.ru>

* fixed terminology in ru (access entity, throws exception)

* fixed typo

* fixed typo

Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* Fixed link.

* CLICKHOUSEDOCS-626: Fixed links.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: emironyuk <62014692+emironyuk@users.noreply.github.com>
Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>
2020-05-15 23:30:51 +03:00
Ivan Blinkov
aa17da6b68
[docs] adjust SELECT ToC meta (#10942)
* [docs] adjust SELECT ToC meta

* Update array-join.md

* Update distinct.md

* Update format.md

* Update from.md

* Update group-by.md

* Update having.md

* Update into-outfile.md

* Update join.md

* Update limit-by.md

* Update limit.md

* Update order-by.md

* Update prewhere.md

* Update sample.md

* Update union-all.md

* Update where.md

* Update with.md
2020-05-15 14:25:18 +03:00
Ivan Blinkov
cd14f9ebcb
SQL reference refactoring (#10857)
* split up select.md

* array-join.md basic refactoring

* distinct.md basic refactoring

* format.md basic refactoring

* from.md basic refactoring

* group-by.md basic refactoring

* having.md basic refactoring

* additional index.md refactoring

* into-outfile.md basic refactoring

* join.md basic refactoring

* limit.md basic refactoring

* limit-by.md basic refactoring

* order-by.md basic refactoring

* prewhere.md basic refactoring

* adjust operators/index.md links

* adjust sample.md links

* adjust more links

* adjust operatots links

* fix some links

* adjust aggregate function article titles

* basic refactor of remaining select clauses

* absolute paths in make_links.sh

* run make_links.sh

* remove old select.md locations

* translate docs/es

* translate docs/fr

* translate docs/fa

* remove old operators.md location

* change operators.md links

* adjust links in docs/es

* adjust links in docs/es

* minor texts adjustments

* wip

* update machine translations to use new links

* fix changelog

* es build fixes

* get rid of some select.md links

* temporary adjust ru links

* temporary adjust more ru links

* improve curly brace handling

* adjust ru as well

* fa build fix

* ru link fixes

* zh link fixes

* temporary disable part of anchor checks
2020-05-15 07:34:54 +03:00