Commit Graph

872 Commits

Author SHA1 Message Date
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
sevirov
deb25ebeef
Update docs/en/sql-reference/statements/alter/comment.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-11-07 18:08:55 +03:00
Dmitriy
1c08065a37 Translate to Russian
Выполнил перевод на русский язык.
2021-11-06 10:52:28 +03:00
Dmitriy
bd355bd727 Fix link
Поправил ссылку.
2021-11-05 21:13:46 +03:00
Dmitriy
fa3bbdb0a0 Document ALTER TABLE MODIFY COMMENT
Задокументировал comment.md
2021-11-05 19:40:17 +03:00
Dmitriy
0d4275f43e Fix links
Поправил ссылку.
2021-11-04 19:37:03 +03:00
Dmitriy
4355d69213 Create comment to dictionary
Задокументировал комментарий к словарю, обновил примеры и системную таблицу.
2021-11-04 19:08:42 +03:00
tavplubix
3f8f08c49c
Merge pull request #30772 from sevirov/sevirov-DOCSUP-16361-update_the_sql_statement_create_database
DOCSUP-16361: Update the SQL-statement CREATE DATABASE
2021-11-01 21:40:48 +03:00
Dmitriy
4d2be6d8bb Add database engines
Добавил движки баз данных.
2021-11-01 19:39:35 +03:00
sevirov
279e1eb6e9
Update docs/en/sql-reference/statements/create/database.md
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-11-01 18:58:08 +03:00
alexey-milovidov
bc5be3208e
Merge pull request #30815 from simpl1g/doc-add-projection-example
[DOCS] Fix ADD PROJECTION example in ru/en docs
2021-10-31 14:29:48 +03:00
Alexey
671b421a31 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into alexey-sm-DOCSUP-14793-document-describe_include_subcolumns 2021-10-28 19:45:53 +00:00
Dmitriy
3515ab99b6 Translate to Russian
Выполнил перевод на русский язык.
2021-10-28 20:27:29 +03:00
Konstantin Ilchenko
88084c715b [DOCS] Fix ADD PROJECTION example in ru/en docs 2021-10-28 17:34:09 +02:00
Alexey
a09746b4e2 updated related data types 2021-10-28 04:47:16 +00:00
Dmitriy
b4b48e09a5 Document the database comment
Задокументировал секцию comment.
2021-10-27 22:29:29 +03:00
Anton Popov
2bb586bed3
Merge pull request #30541 from gyuton/gyuton-DOCSUP-14941-Document-asynchronous-insert-mode
DOCSUP-14941-Document-asynchronous-inserts
2021-10-27 20:25:17 +03:00
gyuton
527474da64 Fix wording 2021-10-27 16:21:50 +03:00
Kseniia Sumarokova
57626438b0
Merge pull request #30469 from kirillikoff/kirillikoff-DOCSUP-13264
DOCSUP-13264: Document the SQL-statements INTERSECT, EXCEPT and ANY, ALL operators
2021-10-27 09:48:12 +03:00
gyuton
901e5170a1 small fixes 2021-10-26 16:42:19 +03:00
gyuton
c08f6cae05 translated to Russian 2021-10-25 22:39:47 +03:00
gyuton
8ec5d68ce3
Apply suggestions from code review
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-25 15:02:24 +03:00
Alexey
3103e9970d format fixed. LLink added 2021-10-23 20:23:32 +00:00
Alexey
20c842aef5 some en updates 2021-10-23 15:09:12 +00:00
lehasm
31e1ae6037
Update docs/en/sql-reference/statements/describe-table.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-23 17:54:24 +03:00
lehasm
2c4d40c261
Update docs/en/sql-reference/statements/describe-table.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-23 17:51:20 +03:00
Tatiana Kirillova
82fc693d55 russian fixes 2021-10-22 22:38:34 +03:00
Tatiana Kirillova
e4df841798
Update intersect.md 2021-10-22 11:58:34 +03:00
Tatiana Kirillova
3510f4cddc
Update except.md 2021-10-22 11:58:04 +03:00
Tatiana Kirillova
745b47762c
Update docs/en/sql-reference/statements/select/except.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-22 11:49:20 +03:00
Tatiana Kirillova
0f66ba1704
Update docs/en/sql-reference/statements/select/intersect.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-22 11:49:11 +03:00
Tatiana Kirillova
692b99ca0d
Update docs/en/sql-reference/statements/select/intersect.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-22 11:49:01 +03:00
Tatiana Kirillova
41f69e9677
Update docs/en/sql-reference/statements/select/except.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-22 11:48:53 +03:00
Tatiana Kirillova
cb907dd6c6
Update docs/en/sql-reference/statements/select/intersect.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-22 11:48:07 +03:00
gyuton
4ecd2ed6e2 typo 2021-10-22 04:21:29 +03:00
gyuton
81d9bac04a Initial draft 2021-10-22 03:53:44 +03:00
Alexey
9d74ae16df en updated 2021-10-20 20:01:57 +00:00
Tatiana Kirillova
e36f06887b update 2021-10-20 20:43:07 +03:00
Tatiana Kirillova
1241db3795 document the SQL-statements INTERSECT, EXCEPT and ANY, ALL operators 2021-10-20 20:18:14 +03:00
Filatenkov Artur
cf50015d49
Merge branch 'ClickHouse:master' into remove_comments_for_enc_docs 2021-10-20 15:38:52 +03:00
Filatenkov Artur
963ece5d6a
Update table.md 2021-10-20 15:13:12 +03:00
Filatenkov Artur
24d3209f60
Update table.md 2021-10-20 15:08:50 +03:00
Alexey
2cfc6a5fcf DESCRIBE refactored. Example updated and moved. 2021-10-19 20:50:30 +00:00
Nikita Mikhaylov
4fbd332bf1 Done 2021-10-19 11:53:55 +00:00
Alexey
deb696fd27 en draft 2021-10-18 16:07:19 +00:00
Kseniia Sumarokova
5d6cc29b98
Merge pull request #29969 from olgarev/revolg-DOCSUP-11547-optimize_move_to_prewhere-and-optimize_move_to_prewhere_if_final-settings
DOCSUP-11547: optimize_move_to_prewhere and optimize_move_to_prewhere_if_final settings
2021-10-12 19:46:49 +03:00
Maksim Kita
c968c7463c
Merge pull request #29534 from ka1bi4/romanzhukov-DOCSUP-13910-SHA512
DOCSUP-13910: Edit and translate to Russian (SHA512 function and note for materialized views)
2021-10-12 12:35:49 +03:00
alesapin
f71a3a194f
Merge pull request #29732 from michon470/kuriatnikovm-DOCSUP-14538-MATERIALIZE-COLUMN-retry
DOCSUP-14538: MATERIALIZE COLUMN statement documented, new PR
2021-10-12 11:29:20 +03:00
olgarev
cb8a66e515 Settings and links 2021-10-10 23:34:26 +00:00
Kseniia Sumarokova
8285d8dbac
Merge pull request #29753 from kirillikoff/kirillikoff-DOCSUP-13583
DOCSUP-13583: Document the enable_positional_arguments setting
2021-10-08 11:02:00 +03:00
Mikhail
9389cb7c77 Example corrected 2021-10-07 22:31:44 +03:00
michon470
c030756c38
Update docs/en/sql-reference/statements/alter/column.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-10-07 22:28:02 +03:00
michon470
1df9afb47c
Update docs/en/sql-reference/statements/alter/column.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-10-07 22:27:22 +03:00
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