Commit Graph

473 Commits

Author SHA1 Message Date
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
万康
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
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
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