Commit Graph

5071 Commits

Author SHA1 Message Date
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
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
sevirov
a796c98272
Update docs/en/interfaces/formats.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-16 20:13:52 +03:00
sevirov
c765e39313
Update docs/en/interfaces/formats.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-16 20:13:12 +03:00
sevirov
b9f50811ea
Update docs/en/interfaces/formats.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-16 20:11:34 +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
eef8f36741 edited link 2021-06-15 22:54:02 +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
alexey-milovidov
7032998108
Merge pull request #25270 from gyuton/gyuton-DOCSUP-10298-Fix-and-update-documentation
DOCSUP-10298: Fixed and updated documentation
2021-06-15 03:04:24 +03:00
Mikhail
d08e6ebc80 Added setting doc 2021-06-15 00:16:30 +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
77e048977b updated settings.md 2021-06-14 19:02:04 +03:00
George
190b443518 First draft 2021-06-14 18:34:56 +03:00
Nickita
ee7169e547 fix typos in docs 2021-06-14 16:29:07 +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
Evgeniia Sudarikova
8ddb7f7fbf more edits in EN 2021-06-13 15:51:26 +03:00
Evgeniia Sudarikova
6d2c062859 edited EN 2021-06-13 15:20:48 +03:00
Maksim Kita
de115cfc8c
Merge pull request #25198 from kitaisreal/dictionary-added-update-field-documentation
Dictionary added update field documentation
2021-06-13 01:22:26 +03:00
Vladimir
494107e437
Merge pull request #25130 from gyuton/gyuton-DOCSUP-8425-Document-max_distributed_depth-setting 2021-06-12 22:17:04 +03:00
Tatiana Kirillova
76bb1a569f Description for another interval record 2021-06-12 20:46:26 +03:00
Maksim Kita
b16e801fb4 Added update_lag option documentation 2021-06-12 18:42:00 +03:00
alexey-milovidov
2377a802bc
Merge pull request #25196 from kitaisreal/added-executable-pool-documentation
Added ExecutablePool documentation
2021-06-12 18:01:46 +03:00
Maksim Kita
314fe86565 Updated documentationg 2021-06-12 13:56:53 +03:00
alexey-milovidov
0e3556ba1f
Merge pull request #25201 from zhicwu/jdbc-bridge-doc
Update JDBC bridge related docs
2021-06-11 21:58:32 +03:00
Zhichun Wu
f1417adfaf Update JDBC bridge related docs 2021-06-11 17:37:38 +08:00
Maksim Kita
8762e40907 Dictionary added update field documentation 2021-06-11 11:52:19 +03:00
Maksim Kita
7dfe403ac0
Merge pull request #25192 from Slach/docs_add_sumKahan
add sumKahan details
2021-06-11 11:37:39 +03:00
Maksim Kita
12982da130 Added ExecutablePool documentation 2021-06-11 11:28:49 +03:00
Slach
0332558a5f fix sumKahan mention from https://github.com/ClickHouse/ClickHouse/pull/25159#issuecomment-858588899
Signed-off-by: Slach <bloodjazman@gmail.com>
2021-06-11 08:46:56 +05:00
alexey-milovidov
a056fadefd
Update sumcount.md 2021-06-11 06:24:34 +03:00
George
2613aee856 Some changes 2021-06-11 01:56:32 +03:00
Vitaly Baranov
4989f16ff9
Merge pull request #24458 from sevirov/sevirov-DOCSUP-9599-edit_and_translate_to_russian_ldap
DOCSUP-9599: Edit and translate to Russian (LDAP)
2021-06-10 20:35:29 +03:00
Dmitriy
296d18ed2a Fix the type matching tables
Поправил таблицы соответствия типов.
2021-06-10 20:22:19 +03:00
gyuton
9297a47f36
typo 2021-06-10 18:22:17 +03:00
Kseniia Sumarokova
993870c951
Merge pull request #25132 from gyuton/gyuton-DOCSUP-10156-Fix-documentation-for-topKWeighted-function
DOCSUP-10156: Fixed documentation for topKWeighted function
2021-06-10 15:37:38 +03:00
adevyatova
4b8650a180 update 2021-06-10 11:54:51 +00:00
George
5af2132408 some fixes 2021-06-10 14:34:36 +03:00
Anna
bb4d938b91
Update replicated.md 2021-06-10 13:51:58 +03:00
Anna
2dd5f03623
Update replicated.md 2021-06-10 13:49:35 +03:00
Anna
9cb4a8f3cb
Update docs/en/engines/database-engines/replicated.md
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-06-10 13:42:01 +03:00
Anna
2091bf9656
Update docs/en/engines/database-engines/replicated.md
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-06-10 13:41:46 +03:00
Slach
1857fb73df add sumKahan to RU and EN documentation
Signed-off-by: Slach <bloodjazman@gmail.com>
2021-06-10 10:31:41 +05:00
alexey-milovidov
f1266a6876
Update install.md 2021-06-10 03:04:10 +03:00
Alexey Milovidov
7a730537cb Document single binary install 2021-06-10 02:31:32 +03:00
George
6135c59d36 fixes 2021-06-10 00:13:31 +03:00
Dmitriy
3ba808a740 Update formats.md
Добавил таблицу соответствия типов для Arrow.
2021-06-09 21:19:34 +03:00
gyuton
938f41c5a5
Apply suggestions from code review
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-06-09 20:18:37 +03:00
George
92e2802e53 Fixed docs 2021-06-09 18:22:21 +03:00
George
ee976cd739 First draft 2021-06-09 16:57:07 +03:00
Azat Khuzhin
18e8f0eb5e Add ability to push down LIMIT for distributed queries
This way the remote nodes will not need to send all the rows, so this
will decrease network io and also this will make queries w/
optimize_aggregation_in_order=1/LIMIT X and w/o ORDER BY faster since it
initiator will not need to read all the rows, only first X (but note
that for this you need to your data to be sharded correctly or you may
get inaccurate results).

Note, that having lots of processing stages will increase the complexity
of interpreter (it is already not that clean and simple right now).

Although using separate QueryProcessingStage looks pretty natural.

Another option is to make WithMergeableStateAfterAggregation always, but
in this case you will not be able to disable only this optimization,
i.e. if there will be some issue with it.

v2: fix OFFSET
v3: convert 01814_distributed_push_down_limit test to .sh and add retries
v4: add test with OFFSET
v5: add new query stage into the bash completion
v6/tests: use LIMIT O,L syntax over LIMIT L OFFSET O since it is broken in ANTLR parser
          https://clickhouse-test-reports.s3.yandex.net/23027/a18a06399b7aeacba7c50b5d1e981ada5df19745/functional_stateless_tests_(antlr_debug).html#fail1
v7/tests: set use_hedged_requests to 0, to avoid excessive log entries on retries
          https://clickhouse-test-reports.s3.yandex.net/23027/a18a06399b7aeacba7c50b5d1e981ada5df19745/functional_stateless_tests_flaky_check_(address).html#fail1
2021-06-09 02:29:50 +03:00
Maksim Kita
0752ccf4e0
Merge pull request #24947 from sevirov/sevirov-DOCSUP-9738-types_supported_in_dictionaries
DOCSUP-9738: Types supported in Dictionaries
2021-06-08 23:37:18 +03:00
Dmitriy
c56a1eb7b6 Correction of the translation
Поправил перевод.
2021-06-08 23:36:57 +03:00
Alexander Kuzmenkov
e39f255179
Merge pull request #24743 from yddgit/patch-1
Update "Tail_Number" column type in create query
2021-06-08 17:16:48 +03:00
Vladimir
fa35383071
Merge pull request #24858 from sevirov/sevirov-DOCSUP-9674-document_the_segmentlengthsum_aggregate_function 2021-06-08 14:58:35 +03:00
George
483d415b24 First draft 2021-06-07 21:24:26 +03:00
tavplubix
634730f4dc
Update s3.md 2021-06-07 17:08:20 +03:00
tavplubix
805171c41f
Merge pull request #24546 from damozhaeva/dmozhaeva-DOCSUP-8448-russian
DOCSUP-8448: [CLICKHOUSEDOCS] Edit and translate to Russian
2021-06-07 14:45:11 +03:00
Pavel Kruglov
0a70304085 Remove database before model name in docs 2021-06-07 13:10:51 +03:00
alesapin
86759753e0
Merge pull request #24878 from ClickHouse/blinkov-patch-22
fix markdown at window functions page
2021-06-07 12:54:29 +03:00
Kruglov Pavel
78f1ecb71f
Merge pull request #24890 from sevirov/sevirov-DOCSUP-8709-document_reload_model_and_reload_models_system_queries
DOCSUP-8709: Document RELOAD MODEL and RELOAD MODELS system queries
2021-06-07 11:12:12 +03:00
adevyatova
a51b9d82a5 update 2021-06-05 08:10:37 +00:00
adevyatova
e3ead7e676 Add en docs 2021-06-05 06:46:30 +00:00
Dmitriy
d8271c0705 Translate to Russian
Перевел на русский язык.
2021-06-04 20:38:05 +03:00
presto53
e9bd18ebfb
Update s3.md 2021-06-04 17:35:15 +03:00
Nikita Mikhaylov
cf8782faf3
Merge pull request #24311 from nikitamikhaylov/merging-s3-backoff
Merging #23461
2021-06-04 14:41:21 +03:00
tavplubix
611d61c804
Merge pull request #24937 from morozovsk/patch-4
Documentation: The MySQL engine also allows to perform `INSERT`
2021-06-04 13:01:56 +03:00
Vladimir
edbcdf81ce
Apply suggestions from code review 2021-06-04 09:57:58 +03:00
alexey-milovidov
7bd88263b2
Less stupid docs. 2021-06-04 01:39:43 +03:00
Dmitriy
fbcd22ab4e Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-9738-types_supported_in_dictionaries 2021-06-04 00:34:58 +03:00
Dmitriy
47a94d350b Add types supported in Dictionaries
Добавил типы для атрибутов словарей.
2021-06-03 23:16:39 +03:00
kssenii
e23bc14582 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg-ch-replica 2021-06-03 19:44:55 +00:00
mergify[bot]
9e2c454db2
Merge branch 'master' into merging-s3-backoff 2021-06-03 18:58:24 +00:00
Vladimir Goncharov
bea934f40c
Update mysql.md
The MySQL engine also allows to perform `INSERT`
2021-06-03 20:12:19 +03:00
alesapin
70a6105d3d
Merge pull request #24765 from adevyatova/annadevyatova-DOCSUP-7864-unfreeze
DOCSUP-7864: Document the SQL-statement ALTER TABLE ... UNFREEZE
2021-06-03 19:03:51 +03:00
adevyatova
4ae1c95e54 minor fix 2021-06-03 12:27:17 +00:00
adevyatova
cdd8a1cc4b minor fix 2021-06-03 11:25:30 +00:00
alesapin
fe49574e41
Merge pull request #24764 from adevyatova/annadevyatova-DOCSUP-8347-non_replicated
DOCSUP-8347: Document the non_replicated_deduplication_window setting
2021-06-03 14:19:59 +03:00
Anna
b33b4afcba
Merge branch 'master' into annadevyatova-DOCSUP-7864-unfreeze 2021-06-03 14:15:47 +03:00
Vladimir
17f0900c31
Merge pull request #19766 from achimbab/pr_sequenceNextNode 2021-06-03 13:16:42 +03:00
adevyatova
e05102f545 fixed 2021-06-03 09:31:45 +00:00
Dmitriy
2dc39edc44 Fix the link
Поправил ссылку.
2021-06-03 00:48:14 +03:00
Dmitriy
d675510d7b Add RELOAD MODELS and RELOAD MODEL system queries
Добивал описание системных запросов.
2021-06-02 23:44:51 +03:00
Maksim Kita
50042df428
Merge pull request #24286 from sevirov/sevirov-DOCSUP-7842-document_the_dictionary_function
DOCSUP-7842: Document the dictionary function
2021-06-02 22:28:33 +03:00
sevirov
1c1b65b95b
Update docs/en/sql-reference/aggregate-functions/reference/intervalLengthSum.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-06-02 21:56:53 +03:00
sevirov
33f14ad6e2
Update docs/en/sql-reference/aggregate-functions/reference/intervalLengthSum.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-06-02 21:56:42 +03:00
sevirov
3367d241d0
Update docs/en/sql-reference/aggregate-functions/reference/intervalLengthSum.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-06-02 21:56:30 +03:00
Dmitriy
6d613a2681 Translate to Russian
Выполнил перевод на русский язык.
2021-06-02 19:45:33 +03:00
sevirov
91928a7844
Update docs/en/sql-reference/aggregate-functions/reference/intervalLengthSum.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-06-02 19:17:49 +03:00
sevirov
0057172ba7
Update docs/en/sql-reference/aggregate-functions/reference/intervalLengthSum.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-06-02 19:17:20 +03:00
sevirov
62b21d850b
Update docs/en/sql-reference/aggregate-functions/reference/intervalLengthSum.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-06-02 19:17:05 +03:00
sevirov
3c0c3f255e
Update docs/en/sql-reference/aggregate-functions/reference/intervalLengthSum.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-06-02 19:16:44 +03:00
Daria Mozhaeva
58fd7392aa years 2021-06-02 14:45:26 +03:00
Ivan Blinkov
8b8f02b0de
fix markdown 2021-06-02 14:36:36 +03:00
adevyatova
42607f4ea4 fix 2021-06-02 07:55:26 +00:00
adevyatova
01b3b0c2f9 update 2021-06-02 07:53:11 +00:00
adevyatova
61ed3a87a3 update 2021-06-02 07:46:44 +00:00
Dmitriy
dad4d9d0c5 Create intervalLengthSum.md
Задокументировал функцию intervalLengthSum.
2021-06-01 20:44:04 +03:00
kssenii
12ea45e956 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg-ch-replica 2021-06-01 17:43:34 +00:00
Nikita Mikhaylov
0055a924f6 better 2021-06-01 14:23:46 +00:00
Nikita Mikhaylov
3f18bde246 Merge branch 'master' of github.com:ClickHouse/ClickHouse into merging-s3-backoff 2021-06-01 13:39:09 +00:00
Max Bruce
356734bd47
Add Rust language third-party SDK, Klickhouse 2021-06-01 04:21:33 -07:00
Alexander Kuzmenkov
4f129d3f93
Merge pull request #24084 from atereh/terehova-DOCSUP-5919-query_optimize_upd_description
DOCSUP-5919: Update OPTIMIZE description in docs
2021-06-01 13:50:01 +03:00
Alexander Kuzmenkov
24d1d7b6c1
Update docs/en/sql-reference/statements/optimize.md 2021-06-01 13:49:24 +03:00
achimbab
99a5f1506a Merge remote-tracking branch 'origin' into pr_sequenceNextNode 2021-06-01 17:25:24 +09:00
alexey-milovidov
38493bde48
Merge pull request #24790 from ahmed-dardery/patch-1
fixed missing "weight" in definition
2021-05-31 22:02:48 +03:00
Nikita Mikhaylov
0d8ede15a9
Merge branch 'master' into merging-s3-backoff 2021-05-31 21:07:00 +03:00
filimonov
481b37cd68
fix more copy & paste 2021-05-31 16:32:43 +02:00
Anton Popov
91cf7771ad
Merge pull request #24444 from adevyatova/annadevyatova-DOCSUP-8654
DOCSUP-8654: Update the unhex function docs
2021-05-31 13:02:47 +03:00
Kseniia Sumarokova
67e2695e8b
Merge pull request #24548 from kirillikoff/DOCSUP-9474-document-table-comments
Docsup 9474: document table comments
2021-05-31 11:11:27 +03:00
kirillikoff
fa8a0ca69d
Update table.md 2021-05-31 10:00:19 +03:00
Anna
95b04dbbf0
Update docs/en/sql-reference/functions/encoding-functions.md
Co-authored-by: Anton Popov <pad11rus@gmail.com>
2021-05-31 07:30:52 +03:00
Anna
ffd0c10b57
Update docs/en/sql-reference/functions/encoding-functions.md
Co-authored-by: Anton Popov <pad11rus@gmail.com>
2021-05-31 07:30:46 +03:00
Anna
38b489ccf9
Merge branch 'master' into annadevyatova-DOCSUP-8214-dictGet 2021-05-30 21:26:24 +03:00
adevyatova
0698002346 Fixed after review 2021-05-30 18:24:14 +00:00
Anna
fab84c526a
Update docs/en/sql-reference/functions/ext-dict-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-30 21:15:01 +03:00
Anna
a4cdeca3ee
Update docs/en/sql-reference/functions/ext-dict-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-30 21:14:56 +03:00
adevyatova
68b1084355 add en docs 2021-05-30 13:28:21 +00:00
Anna
ab4161bd66
Merge branch 'master' into annadevyatova-DOCSUP-8347-non_replicated 2021-05-30 16:05:27 +03:00
adevyatova
4a60e3545e add en,ru docs 2021-05-30 13:01:25 +00:00
adevyatova
8afd862704 add example 2021-05-30 12:21:43 +00:00
Ahmed Dardery
386f31fddf
fixed missing "weight" in definition 2021-05-30 14:08:19 +02:00
tavplubix
fe4b137257
Merge pull request #24761 from adevyatova/annadevyatova-DOCSUP-8823-allow
DOCSUP-8823: Document the allow_floating_point_partition_key setting
2021-05-30 15:05:43 +03:00
adevyatova
d84de3fdbf Fixed 2021-05-30 10:43:49 +00:00
adevyatova
72b0632208 add en,ru docs 2021-05-30 10:39:32 +00:00
adevyatova
ee25971426 en, ru docs 2021-05-30 09:24:41 +00:00
adevyatova
d2299dcf6d fixed 2021-05-30 08:49:58 +00:00
kirillikoff
0ca47b2d1a
Update docs/en/sql-reference/statements/create/table.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-29 18:23:59 +03:00
kirillikoff
33ec902597
Update docs/en/sql-reference/statements/create/table.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-29 18:23:49 +03:00
adevyatova
d932eed090 update 2021-05-29 14:29:56 +00:00
adevyatova
174a80f7b9 undo some changes 2021-05-29 13:55:20 +00:00
Tatiana Kirillova
ee049678a1 Translation into Russian and system.tables 2021-05-29 16:42:21 +03:00
Vladimir
57f3fc8f3e
Merge pull request #23985 from michon470/kuriatnikovm-DOCSUP-7805-update_dictGet_dictHas 2021-05-29 14:04:59 +03:00
adevyatova
9ecf0b54ec update 2021-05-29 10:22:30 +00:00
adevyatova
741582f806 update 2021-05-29 10:19:46 +00:00
yang
80587a5aa5
Update "Tail_Number" column type in create query
I found the CSV file "Tail_Number" value is like this: N517AE, so it should be the type String
2021-05-29 09:14:20 +08:00
Kruglov Pavel
5ce669109e
Merge pull request #24459 from adevyatova/annadevyatova-DOCSUP-8711-sumCount
DOCSUP-8711: Document the sumCount aggregate function and optimize_fuse_sum_count_avg setting
2021-05-28 15:58:30 +03:00
Daria Mozhaeva
aad9dda479 D:/Git/en/date-time-functions 2021-05-28 12:14:28 +03:00
Daria Mozhaeva
e8c7331256 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into dmozhaeva-DOCSUP-8448-russian 2021-05-28 12:04:58 +03:00
kirillikoff
d537da1871
Update docs/en/sql-reference/statements/create/table.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-28 11:30:24 +03:00
kirillikoff
693df20ccc
Update docs/en/sql-reference/statements/create/table.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-28 11:30:19 +03:00
Nikolai Kochetov
6733fb42d5
Merge pull request #24278 from sevirov/sevirov-DOCSUP-9041-update_the_sql_statement_explain_plan
DOCSUP-9041: Update the SQL-statement EXPLAIN PLAN
2021-05-28 10:19:49 +03:00
tavplubix
e82196f9d4
Merge pull request #24503 from sevirov/sevirov-DOCSUP-9597-add_thread_name_and_support_datetime64_for_ver
DOCSUP-9597: Add thread_name in system.stack_trace and add support DateTime64 for ver parameter
2021-05-28 00:44:58 +03:00
alexey-milovidov
e427d91dd6
Merge pull request #24586 from romainneutron/polish-english-doc
Polish english doc
2021-05-28 00:16:16 +03:00
Kseniia Sumarokova
ee4f42a991
Merge pull request #24430 from lehasm/alexey-sm-DOCSUP-8939-document-insert_null_as_default
DOCSUP-8939: document the insert_null_as_default setting
2021-05-27 23:24:16 +03:00
Romain Neutron
d3be14e639
Fix ClickHouse characters case 2021-05-27 21:49:41 +02:00
Romain Neutron
dbcd573018
Fix some typos 2021-05-27 21:48:20 +02:00
Romain Neutron
7b515c7235
Avoid short syntax 2021-05-27 21:44:11 +02:00
Dmitriy
34cd08e732 Update explain.md
Поправил определение для indexes.
2021-05-27 20:41:25 +03:00
Dmitriy
f68a6af5f0 Update examples
Обновил примеры.
2021-05-27 20:01:56 +03:00
adevyatova
f31b581aaa update 2021-05-27 09:37:27 +00:00
adevyatova
ceaba76bf2 update 2021-05-27 07:55:24 +00:00
adevyatova
4b959ac8e4 update 2021-05-27 07:37:50 +00:00
adevyatova
f19fdb9487 Merge branch 'annadevyatova-DOCSUP-8711-sumCount' of https://github.com/adevyatova/ClickHouse into annadevyatova-DOCSUP-8711-sumCount 2021-05-27 07:07:54 +00:00
adevyatova
7d1e7edab1 test 2021-05-27 07:07:37 +00:00
kssenii
e56b10f07c Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg-ch-replica 2021-05-26 21:55:10 +00:00
Maksim Kita
e78105fdd8 Updated documentation 2021-05-27 00:17:45 +03:00
Mikhail
a97f859605 Правки после консультации с разработчиком 2021-05-26 23:05:17 +03:00
Dmitriy
df400d1437 Fix links
Поправил ссылки.
2021-05-26 23:01:20 +03:00
sevirov
0501b2d591
Update docs/en/engines/table-engines/mergetree-family/replacingmergetree.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-05-26 22:18:08 +03:00
Dmitriy
438bba1f12 Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-7842-document_the_dictionary_function 2021-05-26 21:48:46 +03:00