Commit Graph

4844 Commits

Author SHA1 Message Date
kssenii
aa7133c239 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg-ch-replica 2021-06-27 20:08:00 +00:00
kssenii
c3a2fc0584 Review fixes 2021-06-27 19:17:17 +00:00
Kseniia Sumarokova
c7b7eeec09
Merge pull request #25740 from sevirov/sevirov-DOCSUP-10775-document_the_external_table_functions_use_nulls_setting
DOCSUP-10775: Document the external_table_functions_use_nulls setting
2021-06-27 20:22:12 +03:00
Kseniia Sumarokova
534d33fb9d
Update settings.md 2021-06-27 20:21:40 +03:00
alexey-milovidov
0a26687115
Merge pull request #23864 from azat/dist-split-batch-and-retry
Add ability to split distributed batch on failures (i.e. due to memory limits)
2021-06-27 19:28:26 +03:00
Dmitriy
a215779256 Translate to Russian
Перевел на русский язык.
2021-06-27 16:04:35 +03:00
Dmitriy
1129b85f3c Create the external_table_functions_use_nulls setting
Задокументировал настройку external_table_functions_use_nulls.
2021-06-27 15:40:19 +03:00
kssenii
3d90f0710c Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg-ch-replica 2021-06-26 22:04:47 +00: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
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
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
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
alexey-milovidov
133443bd14
Update tips.md 2021-06-23 00:09:10 +03:00
alexey-milovidov
6cab82f31f
Merge pull request #25592 from evillique/docs
Fixed Bundled build description
2021-06-22 20:11:27 +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
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
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
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
ccad32fe96 Translate to Russian
Выполнил перевод на русский язык.
2021-06-18 21:20:53 +03:00
Alina Terekhova
fdc729764b Edits 2021-06-18 19:53:52 +02:00