Commit Graph

1495 Commits

Author SHA1 Message Date
Nikita Mikhaylov
a13a7f65d8
Merge pull request #25511 from sevirov/sevirov-DOCSUP-8660-table_function_s3cluster
DOCSUP-8660: Table function s3Cluster
2021-06-29 14:51:48 +04:00
Nikita Mikhaylov
504db73840
Update docs/en/sql-reference/table-functions/s3Cluster.md 2021-06-29 14:51:36 +04:00
Maksim Kita
bcbfbae2a9
Update median.md 2021-06-29 11:25:27 +03:00
hcz
090d136080
Fix links in median.md 2021-06-29 15:18:40 +08:00
Kseniia Sumarokova
140d21fae8
Update mysql.md 2021-06-27 23:26:10 +03:00
Kseniia Sumarokova
35cd86c350
Update postgresql.md 2021-06-27 23:25:36 +03:00
Dmitriy
7a95569d90 Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-8324-document_the_support_of_replicas_and_shards_in_mysql_postgresql 2021-06-27 20:44:12 +03:00
sevirov
8766a981b2
Update docs/en/sql-reference/table-functions/postgresql.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-27 12:26:20 +03:00
sevirov
92726cf8e2
Update docs/en/sql-reference/table-functions/mysql.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-27 12:26:12 +03:00
Maksim Kita
db1c70975e Compile expressions updated documentation 2021-06-25 23:27:18 +03:00
sevirov
64652c3597
Update docs/en/sql-reference/table-functions/s3Cluster.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-25 19:55:25 +03:00
Dmitriy
48e19f0c39 Create ExternalDistributed.md
Задокументировал новый табличный движок ExternalDistributed.
2021-06-24 22:29:57 +03:00
Anton Popov
c2458778f6
Merge pull request #25586 from CurtizJ/fix-doc
Fix docs for function `initializeAggregation`
2021-06-23 13:38:18 +03:00
Kseniia Sumarokova
84f317cc79
Merge pull request #25439 from sevirov/sevirov-DOCSUP-8661-mysql_dictionary_source
DOCSUP-8661: MySQL dictionary source: the fail_on_connection_loss config parameter.
2021-06-23 12:37:21 +03:00
Dmitriy
a1e65ae260 Translate to Russian
Выполнил перевод на русский язык.
2021-06-22 21:50:51 +03:00
sevirov
d172509c77
Update docs/en/sql-reference/table-functions/s3Cluster.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-22 19:29:07 +03:00
sevirov
1230efb03b
Update docs/en/sql-reference/table-functions/s3Cluster.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-22 19:28:53 +03:00
sevirov
a870dec0ef
Update docs/en/sql-reference/table-functions/s3Cluster.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-22 19:28:44 +03:00
sevirov
39fef21d67
Update docs/en/sql-reference/table-functions/s3Cluster.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-22 19:28:36 +03:00
sevirov
5edc97cd93
Update docs/en/sql-reference/table-functions/s3Cluster.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-22 19:28:25 +03:00
sevirov
30d730ab50
Update docs/en/sql-reference/table-functions/s3Cluster.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-22 19:27:23 +03:00
sevirov
9d084510c7
Update docs/en/sql-reference/table-functions/s3Cluster.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-22 19:24:58 +03:00
Dmitriy
8091bd382d The small fix
Внес небольшую поправку.
2021-06-22 19:15:19 +03:00
tavplubix
1f07dd06fc
Merge pull request #25375 from atereh/terehova-DOCSUP-10113-update-function-range
DOCSUP-10113: Update the function range docs
2021-06-22 17:43:43 +03:00
Anton Popov
eea4aac0db
Merge pull request #25065 from gyuton/gyuton-DOCSUP-7551-Allow-nested-with-multiple-nesting-and-subcolumns-of-complex-types
DOCSUP-7551: Documented nested with multiple nesting and subcolumns of complex types
2021-06-22 17:41:45 +03:00
tavplubix
a6a43ce3ee
Revert "Implement h3ToGeo function" 2021-06-22 17:25:21 +03:00
Alina Terekhova
749855f1c8
Removed start-end comparison statement 2021-06-22 15:43:16 +02: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
68ffbd2ad3 fix docs for function 'initializeAggregation' 2021-06-22 13:14:24 +03:00
George
6edf9e1d07 Deleted obsolete phrase 2021-06-22 12:27:22 +03:00
George
87e02dca9c Small update 2021-06-22 12:23:12 +03:00
George
eaa0f35811 Documented setting flatten_nested 2021-06-22 03:23:33 +03:00
Dmitriy
ee28db0daf Fix the inaccuracy
Внес небольшую поправку.
2021-06-22 00:23:24 +03:00
Dmitriy
6e3b1841de Update s3Cluster.md
Поправил примеры.
2021-06-21 20:51:11 +03:00
sevirov
cbca2a6c36
Update docs/en/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-sources.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-21 20:11:47 +03:00
Alina Terekhova
f531421c33 Rephrasing 2021-06-21 12:11:42 +02:00
Alina Terekhova
fd03f3027b Implementation details 2021-06-21 12:01:23 +02:00
Alina Terekhova
ee82928984 Structure fix 2021-06-21 11:48:24 +02:00
Alina Terekhova
d09ad74c12 Tiret fix 2021-06-20 14:37:28 +02:00
Alina Terekhova
11d350e16d UInt link fixes + small edits 2021-06-20 14:23:18 +02: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
Dmitriy
89e7857012 Create s3Cluster.md
Сделал грязный черновик описания табличной функции s3Cluster. Буду корректировать примеры, которые не работают.
2021-06-20 01:25:11 +03:00
Dmitriy
ccad32fe96 Translate to Russian
Выполнил перевод на русский язык.
2021-06-18 21:20:53 +03:00
Alina Terekhova
fdc729764b Edits 2021-06-18 19:53:52 +02: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
Dmitriy
d69790945d Add the fail_on_connection_loss configuration parameter
Добавил описание параметра fail_on_connection_loss.
2021-06-17 23:29:01 +03:00
Maksim Kita
bc86b2b738 Updated function bitPositionsToArray before merge 2021-06-17 12:20:53 +03:00
Alina Terekhova
dd6f93b2a7 Small corrections 2021-06-17 11:02:06 +02:00
Vladimir
7a56ab8b1d
Merge pull request #25299 from mga-chka/equals_op_in_sequence_functions 2021-06-17 11:45:04 +03:00