Commit Graph

4927 Commits

Author SHA1 Message Date
mergify[bot]
8ca52ea2df
Merge branch 'master' into master 2021-06-27 00:17:31 +00: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
Denis Glazachev
9788b0e38a Fix locating objcopy in macOS
Rework clickhouse_embed_binaries() to compile asm files properly and avoid duplicate symbols when linking in macOS
2021-06-26 17:39:02 +04:00
alexey-milovidov
fdc965c579
Update recipes.md 2021-06-26 04:07:25 +03:00
Maksim Kita
db1c70975e Compile expressions updated documentation 2021-06-25 23:27:18 +03:00
Maksim Kita
c633d133e5
Merge pull request #25275 from michon470/kuriatnikovm-DOCSUP-9285-compile-expressions-setting
DOCSUP-9285: Documented compile_expressions setting
2021-06-25 22:50:14 +03:00
Dmitriy
8062884323 Translate to Russian
Выполнил перевод на русский язык.
2021-06-25 21:25:25 +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
Kostiantyn Storozhuk
3c71e067fa Update docs and style 2021-06-25 19:27:03 +08:00
Dmitry Novik
c2acf12245 Add english documentation for system.data_skipping_indices 2021-06-25 02:49:47 +03:00
Dmitriy
b9b45d61e9 Fix See Also
Поправил ссылки.
2021-06-24 23:40:43 +03:00
Dmitriy
5154f78249 Update ExternalDistributed.md
Внес небольшие поправки.
2021-06-24 22:49:04 +03:00
Dmitriy
48e19f0c39 Create ExternalDistributed.md
Задокументировал новый табличный движок ExternalDistributed.
2021-06-24 22:29:57 +03:00
nickzhwang
00a2dfb1bf resolve conflicts 2021-06-24 20:59:40 +08:00
nickzhwang
9fc890abf5 resolve conflicts 2021-06-24 20:47:02 +08:00
nickzhwang
bb35a113bf fix broken links and incorrect translations 2021-06-24 20:18:14 +08: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
Evgenia Sudarikova
ff9fba33bb
Update docs/en/getting-started/install.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-24 12:52:53 +03:00
George
ebceb6a5b4 fixed link 2021-06-23 18:54:26 +03:00
Kruglov Pavel
4913b18532
Merge pull request #25531 from Avogar/fix-arrow-decimal
Fix segfault in Arrow format, add arrow Decimal256 support in Arrow and Parquet.
2021-06-23 17:28:16 +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
4e22692512 fixed links 2021-06-23 03:26:08 +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
Azat Khuzhin
a0209178cc Add ability to split distributed batch on failures
Add distributed_directory_monitor_split_batch_on_failure setting (OFF by
default), that will split the batch and send files one by one in case of
retriable errors.

v2: more error codes
2021-06-23 02:48:47 +03:00
alexey-milovidov
dc5c203eb8
Update adopters.md 2021-06-23 01:34:44 +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
George
57f6811ba0 Draft 2021-06-23 00:13:24 +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
alexey-milovidov
133443bd14
Update tips.md 2021-06-23 00:09:10 +03:00
Dmitriy
a1e65ae260 Translate to Russian
Выполнил перевод на русский язык.
2021-06-22 21:50:51 +03:00
alexey-milovidov
6cab82f31f
Merge pull request #25592 from evillique/docs
Fixed Bundled build description
2021-06-22 20:11:27 +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
Nikolay Degterinsky
22de14be3f Fixed docs 2021-06-22 14:10:34 +00: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
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
d9e681b8bc
Update settings.md 2021-06-22 14:40:49 +03:00
Anton Popov
68ffbd2ad3 fix docs for function 'initializeAggregation' 2021-06-22 13:14:24 +03:00
Mikhail
1b0a598c21 опечатки исправлены 2021-06-22 12:31:37 +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
gyuton
44a793b01a
Apply suggestions from code review
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-22 12:17:22 +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
Pavel Kruglov
604080239c Add tests for Parquet 2021-06-21 12:23:24 +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
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
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
Alina Terekhova
dd6f93b2a7 Small corrections 2021-06-17 11:02:06 +02: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
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