Commit Graph

1772 Commits

Author SHA1 Message Date
romanzhukov
282c26e3a1 DOCSUP-11554: Minor fixes. 2021-07-19 15:10:33 +03:00
Miguel Fernández
c308ab4a40 Fix assumeNotNull docs
assumeNotNull empirically behaves like the opposite of what was described, returning a non-null value for a null type.
2021-07-19 14:02:22 +02:00
romanzhukov
69f3804980 DOCSUP-11554: dictionary source secure setting added 2021-07-18 19:06:22 +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
zxc111
be122ac2dd update docs/en/sql-reference/functions/string-functions.md 2021-07-17 16:04:39 +08:00
zxc111
7f32271fd2 update docs/en/sql-reference/functions/encoding-functions.md 2021-07-17 15:51:40 +08: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
Alexey
e127110709 Title changed to Globs in Addresses
Section moved to remote() and replaced previous text there.
Created a link from url() to remote().
New settings are mentioned also.
2021-07-15 15:58:47 +00:00
Maksim Kita
4cc98c8fd8
Merge pull request #26230 from lehasm/alexey-sm-DOCSUP-9858-doc-postgres-like-cast
DOCSUP-9858: document cast syntax x::t
2021-07-15 18:16:39 +03:00
lehasm
c49c06f629
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-07-15 16:36:18 +03:00
Nikita Mikhaylov
1d57931774
Merge pull request #26053 from sevirov/sevirov-DOCSUP-10557-support_complex_types_in_arrow_parquet_orc_formats
DOCSUP-10557: Support complex types in Arrow/Parquet/ORC formats
2021-07-15 13:48:57 +03: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
83460e8db9 Example changed to show casting float to decimal
Other fixes and improvements
2021-07-14 19:27:32 +00:00
Nikita Mikhaylov
f8b4b3e81b
Merge pull request #25595 from ClickHouse/revert-25593-revert-24867-ncb/h3-indexing-funcs
Implement h3ToGeo function [2]
2021-07-13 20:08:17 +03:00
Filatenkov Artur
93a3a1d27a
Merge pull request #26056 from sevirov/sevirov-DOCSUP-11166-edit_and_translate_to_russian_data_skipping_indices_system_table
DOCSUP-11166: Edit and translate to Russian (data_skipping_indices system table)
2021-07-13 19:31:47 +03:00
Nikita Mikhaylov
cac2aa9699 Revert "Revert "Implement h3ToGeo function"" 2021-07-13 12:10:21 +00:00
Anton Popov
06570d2a5a
Merge pull request #26040 from lehasm/alexey-sm-DOCSUP-10296-document-toJSONString
DOCSUP-10296: Document the toJSONString function
2021-07-13 15:06:06 +03:00
Alexey
fc7f84d0d0 Minor updates 2021-07-13 05:24:31 +00:00
Alexey
6f274db4b3 Examples from remote 2021-07-13 04:37:50 +00:00
Alexey
30be1c6171 Article changed 2021-07-12 18:48:14 +00:00
Alexey
f56d1563b7 New syntax added and the beginning is edited. 2021-07-11 19:10:49 +00:00
Dmitriy
6dd0f7bb95 Translate to Russian
Перевел на русский язык
2021-07-11 00:37:28 +03:00
alexey-milovidov
103b860555
Update tuple-functions.md 2021-07-10 23:12:32 +03:00
Alexey
da93382d75 [Original article] removed 2021-07-10 08:35:31 +00:00
Alexey
36b8d899a7 Description updated 2021-07-10 08:35:12 +00:00
Alexey
6403bd72fc Second example returned.
output_format_json_quote_denormals mentioned in the description.
2021-07-10 07:01:34 +00:00
Maksim Kita
03c4853451 Functions dictGet, dictHas complex key dictionary key argument tuple fix 2021-07-09 17:20:02 +03:00
Alexey
4f48c5c723 The only example left
'quoted' changed to 'enclosed in qoutes'
Added See Also with link to related settings.
2021-07-08 20:18:56 +00:00
Alexey
c1c6df7be5 Removed warning that Map is expetimental
and one must set allow_experimental_map_type = 1 to use it
2021-07-08 19:57:16 +00:00
alexey-milovidov
0608eb41ce
Merge pull request #25797 from gyuton/gyuton-DOCSUP-10112-Document-logical-functions
DOCSUP-10112: Documented logical functions
2021-07-08 00:34:23 +03:00
Maksim Kita
39c5ba40f7
Merge pull request #26055 from kitaisreal/clickhouse-dictionary-source-secure-setting-added-documentation
ClickHouse dictionary source secure setting added documentation
2021-07-07 23:49:42 +03:00
Dmitriy
ffec3c8540 Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-11166-edit_and_translate_to_russian_data_skipping_indices_system_table 2021-07-07 22:58:22 +03:00
Dmitriy
c435bd85f7 Edit and translate to Russian
Выполнил перевод на русский язык.
2021-07-07 22:47:47 +03:00
Alexey
8582df272f More fixes 2021-07-07 19:30:02 +00:00
Maksim Kita
9d0c2f83f8 ClickHouse dictionary source secure setting added documentation 2021-07-07 22:14:30 +03:00
Dmitriy
d3a044d913 Support Tuple and Map types
Задокументировал поддержку типов Tuple и Map.
2021-07-07 21:44:13 +03:00
lehasm
8783685923
Update docs/en/sql-reference/functions/json-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-07-07 21:36:58 +03:00
lehasm
b6acc6ecb1
Update docs/en/sql-reference/functions/json-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-07-07 21:36:47 +03:00
alesapin
f0fc12d0dd Merge branch 'master' into evillique-nlp 2021-07-07 12:14:49 +03:00
Maksim Kita
ad5f99d36c
Merge pull request #25973 from otrazhenia/evgsudarikova-DOCSUP-10768
DOCSUP-10768: added Array type to the list of supported types in Dictionaries' attributes.
2021-07-07 01:52:22 +03:00
Alexey
0eee65b5e9 Minor update 2021-07-06 21:01:45 +00:00
Alexey
fa364a45c3 Ready for PR draft 2021-07-06 20:49:14 +00:00
Alexey
490871cf9f Draft 2021-07-06 18:55:44 +00:00
tavplubix
ddc7263ec7
Merge pull request #25799 from lehasm/alexey-sm-DOCSUP-9779-document-quantileBFloat16
DOCSUP-9779: Document the quantileBFloat16
2021-07-06 11:43:06 +03:00
Maksim Kita
ca734bff93
Merge pull request #25805 from gyuton/gyuton-DOCSUP-10532-Edited-and-translated-to-Russian
DOCSUP-10532: Edited and translated to Russian (dateName and bitPositionsToArray functions)
2021-07-05 21:42:05 +03:00
Evgeniia Sudarikova
0955d001cd added array to types 2021-07-04 16:11:29 +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
Alexey
24803bd846 bfloat16 wrapped into back ticks 2021-07-02 20:21:38 +00:00
Alexey
7e372a2e53 Ru translation + some updates + link fixes 2021-07-02 20:18:55 +00:00
Alexey
e9687a5907 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into alexey-sm-DOCSUP-9779-document-quantileBFloat16 2021-07-02 19:15:12 +00:00
George
aa377bcd42 Deleted wrong doc 2021-07-02 13:23:00 +03:00
Alexey
219dff242c Draft 2021-07-01 20:57:01 +00: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
Kruglov Pavel
e23cf79338
Merge pull request #25596 from ildus/map_add_for_maps
Support Map type in mapAdd and mapSubtract
2021-07-01 21:08:07 +03:00
Ildus Kurbangaliev
f56ae8f9cd
Apply suggestions from code review
Co-authored-by: Kruglov Pavel <48961922+Avogar@users.noreply.github.com>
2021-07-01 13:38:13 +02:00
Vladimir
d0b28a7d6e
Merge pull request #25793 from Slach/improve_alter_partition_docs
add DELETE IN PARTITION and UPDATE IN PARTITION into ALTER syntax TOC
2021-07-01 10:55:44 +03:00
Alexey
46e6062c44 Fixed Syntax section of quantileExactLow 2021-06-30 19:42:41 +00:00
Alexey
b852253153 Fixed Wikipedia link 2021-06-30 19:37:52 +00:00
Alexey
8a3a142f75 Fixed links in quantiles.md 2021-06-30 19:28:57 +00:00
Alexey
414f48e1c0 Function added to quantiles.md 2021-06-30 19:23:46 +00:00
Alexey
38e6c52a1c Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into alexey-sm-DOCSUP-9779-document-quantileBFloat16 2021-06-30 19:10:34 +00:00
Anton Popov
2034d31b3e
Merge pull request #25607 from gyuton/gyuton-DOCSUP-10293-Document-the-optimize_functions_to_subcolumns-setting
DOCSUP-10293: Documented the optimize_functions_to_subcolumns setting
2021-06-30 14:26:48 +03:00
Anton Popov
d9fcd53f0c
Update count.md 2021-06-30 14:25:14 +03:00
tavplubix
56da480497
Merge pull request #25302 from otrazhenia/evgsudarikova-DOCSUP-10299
DOCSUP-10299: Edit and translate to Russian
2021-06-30 14:02:43 +03:00
gyuton
077c7fab43
Apply suggestions from code review
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-30 13:23:07 +03:00
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
Vladimir Goncharov
abf4bf832b
Update projection.md
Currently WHERE is not supported.
2021-06-19 18:32:18 +03:00
Vladimir Goncharov
da4dc26975
Update projection.md 2021-06-19 18:15:25 +03:00
Nikolay Degterinsky
076d666c8d Removed src and docs for tokenize & tokenizeWhitespace functions (old tokenize functions) 2021-06-19 13:03:27 +00:00
Nikolay Degterinsky
f60479b6b3 Added RU and EN documentation for SplitByWhitespace & SplitByNonAlpha functions 2021-06-19 12:54:53 +00: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
Vladimir Goncharov
ebf9681888
Create projection.md
info about manipulating projections based on RFC #14730
2021-06-18 19:55:42 +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
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
alesapin
9e77ca7182
Merge branch 'master' into nlp 2021-06-17 21:47:41 +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
George
ce02592219 Small fixes 2021-06-16 18:08:47 +03:00
gyuton
dc46d90f4f
Apply suggestions from code review
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-16 18:03:11 +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
Evgeniia Sudarikova
40101cbf82 edited EN, added RU 2021-06-15 22:29:11 +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
2f596fba05 Minor improvements 2021-06-15 17:57:49 +03:00
George
2b7547cb13 Small update 2021-06-15 17:52:23 +03:00
George
c50eb78819 Updated EN version 2021-06-15 17:38:08 +03:00
gyuton
70b8758bde
Apply suggestions from code review
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-15 17:05:43 +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
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
bharatnc
4487745dde h3ToGeo - docs 2021-06-14 11:38:38 -07:00
Tatiana Kirillova
8a94e9610e Russian translation 2021-06-14 20:19:28 +03:00
George
190b443518 First draft 2021-06-14 18:34:56 +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