Commit Graph

4768 Commits

Author SHA1 Message Date
Alexey
ccddb60f45 Removed comments 2021-06-26 16:15:37 +00:00
Alexey
27ba48ebe7 Aliases added 2021-06-26 16:13:55 +00:00
Alexey
ffe49589a1 Description draft 2021-06-26 16:08:23 +00:00
Anton Popov
d8b6f15ef4
Merge pull request #23027 from azat/distributed-push-down-limit
Add ability to push down LIMIT for distributed queries
2021-06-20 23:08:50 +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
Maksim Kita
2792f302fd
Merge pull request #25294 from gyuton/gyuton-DOCSUP-10300-Edit-and-translate-to-Russian
DOCSUP-10300: Edited and translated to Russian
2021-06-18 10:11:10 +03:00
Maksim Kita
b34b66c55d
Merge pull request #25394 from ClickHouse/function-bit-position-to-array-merge
Merging #23843
2021-06-18 01:31:33 +03:00
alexey-milovidov
afad95194d
Merge pull request #25403 from presto53/master
Update change storage policy doc
2021-06-17 21:23:20 +03:00
Kruglov Pavel
031a12ec3f
Merge pull request #25140 from sevirov/sevirov-DOCSUP-10019-support_array_in_parquet_orc_arrow
DOCSUP-10019: Support array in Parquet, ORC and Arrow formats
2021-06-17 12:32:32 +03:00
Maksim Kita
bc86b2b738 Updated function bitPositionsToArray before merge 2021-06-17 12:20:53 +03:00
presto53
e02e587557
Update change storage policy en doc 2021-06-17 11:50:58 +03:00
Vladimir
7a56ab8b1d
Merge pull request #25299 from mga-chka/equals_op_in_sequence_functions 2021-06-17 11:45:04 +03:00
Maksim Kita
5b2380d541
Merge branch 'function-bit-position-to-array-merge' into feature-function-bitpositionToArray 2021-06-17 10:23:41 +03:00
Maksim Kita
7b7ce0f741 Added documentation 2021-06-16 21:33:44 +03:00
sevirov
a796c98272
Update docs/en/interfaces/formats.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-16 20:13:52 +03:00
sevirov
c765e39313
Update docs/en/interfaces/formats.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-16 20:13:12 +03:00
sevirov
b9f50811ea
Update docs/en/interfaces/formats.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-16 20:11:34 +03:00
George
864b35533e small fixes 2021-06-16 13:53:09 +03:00
gyuton
f877c7ee51
Apply suggestions from code review
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-16 13:47:46 +03:00
christophe.kalenzaga
2dae69a40b add == operators in sequence*() aggregate fuctions 2021-06-15 18:58:20 +02:00
George
b8c20f201b Small update 2021-06-15 18:11:11 +03:00
George
81b1ef1b0c Small fixes 2021-06-15 16:58:42 +03:00
George
30f3eacfe7 First draft 2021-06-15 16:32:54 +03:00
Vladimir
be11ff0820
Merge pull request #25236 from kirillikoff/kirillikoff-DOCSUP-9861 2021-06-15 15:49:08 +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
kirillikoff
e09a09f775
Update index.md 2021-06-15 13:01:20 +03:00
Vladimir
cf2c3ee0d8
Update example for date and time operator
Co-authored-by: Nikolai Kochetov <KochetovNicolai@users.noreply.github.com>
2021-06-15 12:58:51 +03:00
Vladimir
1f88cf3ccf
Merge pull request #25244 from otrazhenia/evgsudarikova-DOCSUP-10025 2021-06-15 12:01:38 +03:00
Vladimir
a43c5c0a7f
Apply suggestions from code review 2021-06-15 10:27:38 +03:00
alexey-milovidov
7032998108
Merge pull request #25270 from gyuton/gyuton-DOCSUP-10298-Fix-and-update-documentation
DOCSUP-10298: Fixed and updated documentation
2021-06-15 03:04:24 +03:00
kirillikoff
8531aef8bd
Update docs/en/sql-reference/operators/index.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-14 23:06:04 +03:00
kirillikoff
a910a15115
Update docs/en/sql-reference/operators/index.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-14 23:05:37 +03:00
Tatiana Kirillova
8a94e9610e Russian translation 2021-06-14 20:19:28 +03:00
George
77e048977b updated settings.md 2021-06-14 19:02:04 +03:00
Nickita
ee7169e547 fix typos in docs 2021-06-14 16:29:07 +03:00
Evgeniia Sudarikova
9e11daa8c6 minor changes 2021-06-14 15:54:27 +03:00
Evgeniia Sudarikova
414bde9f2a edited after review and translated notes in RU examples 2021-06-14 15:39:53 +03:00
Evgeniia Sudarikova
8ddb7f7fbf more edits in EN 2021-06-13 15:51:26 +03:00
Evgeniia Sudarikova
6d2c062859 edited EN 2021-06-13 15:20:48 +03:00
Maksim Kita
de115cfc8c
Merge pull request #25198 from kitaisreal/dictionary-added-update-field-documentation
Dictionary added update field documentation
2021-06-13 01:22:26 +03:00
Vladimir
494107e437
Merge pull request #25130 from gyuton/gyuton-DOCSUP-8425-Document-max_distributed_depth-setting 2021-06-12 22:17:04 +03:00
Tatiana Kirillova
76bb1a569f Description for another interval record 2021-06-12 20:46:26 +03:00
Maksim Kita
b16e801fb4 Added update_lag option documentation 2021-06-12 18:42:00 +03:00
alexey-milovidov
2377a802bc
Merge pull request #25196 from kitaisreal/added-executable-pool-documentation
Added ExecutablePool documentation
2021-06-12 18:01:46 +03:00
Maksim Kita
314fe86565 Updated documentationg 2021-06-12 13:56:53 +03:00
alexey-milovidov
0e3556ba1f
Merge pull request #25201 from zhicwu/jdbc-bridge-doc
Update JDBC bridge related docs
2021-06-11 21:58:32 +03:00
Zhichun Wu
f1417adfaf Update JDBC bridge related docs 2021-06-11 17:37:38 +08:00
Maksim Kita
8762e40907 Dictionary added update field documentation 2021-06-11 11:52:19 +03:00
Maksim Kita
7dfe403ac0
Merge pull request #25192 from Slach/docs_add_sumKahan
add sumKahan details
2021-06-11 11:37:39 +03:00
Maksim Kita
12982da130 Added ExecutablePool documentation 2021-06-11 11:28:49 +03:00