Commit Graph

1593 Commits

Author SHA1 Message Date
Maksim Kita
d5beed076a
Merge pull request #25384 from gyuton/gyuton-DOCSUP-10114-Document-the-quantileExact-functions
DOCSUP-10114: Documented the quantileExact functions
2021-06-30 12:09:13 +03:00
Alexey
03dc7f21ee Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into alexey-sm-DOCSUP-9779-document-quantileBFloat16 2021-06-30 04:33:59 +00:00
gyuton
abba502138
Apply suggestions from code review
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-06-30 00:54:03 +03:00
George
6b8e2eee19 Small fix 2021-06-29 23:47:19 +03:00
George
cdb75d7081 small fixes 2021-06-29 22:42:34 +03:00
gyuton
e6d423cca1
Apply suggestions from code review
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-06-29 22:30:12 +03:00
George
ca57d62f70 typo 2021-06-29 16:29:40 +03:00
George
4e8e5a2b55 Added expressions 2021-06-29 16:27:54 +03:00
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
George
2af628f963 Small update 2021-06-29 04:55:31 +03:00
George
6458a51ccf Edited bitPositionsToArray(num) 2021-06-29 04:38:33 +03:00
George
aaf39189f1 Edited dateName 2021-06-29 03:59:19 +03:00
Alexey
8ac7e147b7 Text changed to match other quantile descriptions 2021-06-28 20:26:57 +00:00
Alexey
538558ccb5 Fixed links in median.md 2021-06-28 20:26:27 +00:00
Alexey
f2c871f7c8 Removed implementation details 2021-06-28 20:07:20 +00:00
Alexey
c7def2a76d Example fixed 2021-06-28 19:56:20 +00:00
George
12798a2c47 more fixes 2021-06-28 22:32:37 +03:00
George
985ca2cd5a some fixes 2021-06-28 21:44:59 +03:00
George
c5e5ebcdf3 First draft 2021-06-28 21:25:52 +03: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
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
George
96b2c054da Added translation 2021-06-27 02:37:34 +03:00
gyuton
e7af8ee31b
Apply suggestions from code review
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-27 02:09:30 +03:00
gyuton
5e5aa409ee
Apply suggestions from code review
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-27 01:00:39 +03:00
Alexey
024cf55252 toc_priority set on median page to place it after quantiles 2021-06-26 20:10:24 +00:00
Alexey
d48f5227ea Fixes and updates 2021-06-26 20:04:29 +00:00
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
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
Evgenia Sudarikova
2bb9bb6a86
Update docs/en/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-lifetime.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-24 12:53:39 +03:00
Evgenia Sudarikova
c7d5282798
Update docs/en/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-lifetime.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-24 12:53:25 +03:00
George
e69cd8c6b8 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into gyuton-DOCSUP-10293-Document-the-optimize_functions_to_subcolumns-setting 2021-06-23 15:10:35 +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
George
fa3d08420f Unrelated fix 2021-06-23 04:04:20 +03:00
George
e7fe155e98 Added the articles 2021-06-23 03:58:24 +03:00
George
7cc4fa3696 fixed links 2021-06-23 03:25:28 +03:00
George
ecb766a5c6 En docs 2021-06-23 03:15:11 +03:00
gyuton
7418d1c757
Apply suggestions from code review
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-23 01:08:20 +03:00
George
a0206dd438 various fixes 2021-06-23 00:32:41 +03:00
gyuton
779b5df1a2
Apply suggestions from code review
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-23 00:10:53 +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
Ildus Kurbangaliev
0a937e7377 Support Map type in mapAdd and mapSubtract 2021-06-22 17:02:42 +02: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
George
4af3e38b52 Fixed links 2021-06-22 17:25:48 +03:00
tavplubix
a6a43ce3ee
Revert "Implement h3ToGeo function" 2021-06-22 17:25:21 +03:00
George
54d1bef087 Small update 2021-06-22 17:17:31 +03:00
George
9e42833947 Added translation 2021-06-22 17:14:00 +03:00
Alina Terekhova
749855f1c8
Removed start-end comparison statement 2021-06-22 15:43:16 +02:00
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
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
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
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
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
Alina Terekhova
b61346a708 Examples fix + anchor fix 2021-06-17 02:16:34 +02:00
Alina Terekhova
06261466e4 First edits 2021-06-17 01:34:59 +02:00
Maksim Kita
7b7ce0f741 Added documentation 2021-06-16 21:33:44 +03:00