Commit Graph

7247 Commits

Author SHA1 Message Date
George
22b5e0e6c2 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into gyuton-DOCSUP-10114-Document-the-quantileExact-functions 2021-06-22 16:39:25 +03:00
alexey-milovidov
2987d11268
Update adopters.md 2021-06-22 16:36:29 +03:00
alexey-milovidov
bd4fb30735
Update adopters.md 2021-06-22 16:35:15 +03:00
alexey-milovidov
2201993479
Update adopters.md 2021-06-22 16:33:12 +03:00
alexey-milovidov
50ebf9d1b2
Update adopters.md 2021-06-22 16:29:11 +03:00
alexey-milovidov
eafd96bc83
Update adopters.md 2021-06-22 16:26:14 +03:00
Nikita Mikhaylov
19b3659517
Merge pull request #24867 from bharatnc/ncb/h3-indexing-funcs
Implement h3ToGeo function
2021-06-22 15:59:09 +03: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
Vladimir
27f0fdb539
Merge pull request #25292 from Tiaonmmn/patch-1
Update formats.md
2021-06-18 17:46:02 +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
6c0dfae880
Update external-dicts-dict-sources.md 2021-06-18 10:10:52 +03:00
George
9f36eb6210 Fixes 2021-06-18 05:13:38 +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
George
8c97247fe1 unrelated fix 2021-06-18 00:11:52 +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
Maksim Kita
52dac4caca
Merge pull request #25238 from meoww-bot/patch-4
Create zh translation for postgresql.md
2021-06-17 17:26:53 +03:00
meoww-bot
1b1ca0d5df
Comment two links to references which not exist 2021-06-17 19:38:38 +08: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
presto53
5f4ac309ce
Update change storage policy doc 2021-06-17 11:46:42 +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
George
0a959f8707 small fixes 2021-06-17 03:55:24 +03:00
George
80cf037f5c More work 2021-06-17 03:42:08 +03:00
Maksim Kita
7b7ce0f741 Added documentation 2021-06-16 21:33:44 +03:00
Dmitriy
dd0fde544c Update formats.md
Внес небольшие правки.
2021-06-16 20:22:11 +03:00
sevirov
43ddc0189d
Update docs/ru/interfaces/formats.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-16 20:16:41 +03:00
sevirov
e4972c9167
Update docs/ru/interfaces/formats.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-16 20:16:00 +03:00
sevirov
7c0b3c5898
Update docs/ru/interfaces/formats.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-16 20:15:07 +03:00
sevirov
5c509fa9b7
Update docs/ru/interfaces/formats.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-16 20:14:53 +03:00
sevirov
23807a87b2
Update docs/ru/interfaces/formats.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-16 20:14:06 +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
9b96f4c9b0
Update docs/ru/interfaces/formats.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-16 20:13:33 +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
6a5abac809
Update docs/ru/interfaces/formats.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-16 20:12:30 +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
Dmitriy
35f4a8985d Translate to Russian
Перевел на русский язык.
2021-06-15 20:56:17 +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
Tiaonmmn
c5d7cdd983
Update formats.md
A lot of modifications on Chinese translation.
2021-06-15 19:09:36 +08:00
kirillikoff
1a79540457
Update index.md 2021-06-15 13:01:53 +03:00
kirillikoff
e09a09f775
Update index.md 2021-06-15 13:01:20 +03:00