Commit Graph

534 Commits

Author SHA1 Message Date
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
George
57f6811ba0 Draft 2021-06-23 00:13:24 +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
Anton Popov
d9e681b8bc
Update settings.md 2021-06-22 14:40:49 +03:00
Mikhail
1b0a598c21 опечатки исправлены 2021-06-22 12:31:37 +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
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
Mikhail
d08e6ebc80 Added setting doc 2021-06-15 00:16:30 +03:00
George
77e048977b updated settings.md 2021-06-14 19:02:04 +03:00
gyuton
9297a47f36
typo 2021-06-10 18:22:17 +03:00
adevyatova
4b8650a180 update 2021-06-10 11:54:51 +00: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
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
adevyatova
a51b9d82a5 update 2021-06-05 08:10:37 +00:00
adevyatova
e3ead7e676 Add en docs 2021-06-05 06:46:30 +00: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
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
7b515c7235
Avoid short syntax 2021-05-27 21:44:11 +02:00
adevyatova
4b959ac8e4 update 2021-05-27 07:37:50 +00:00
Anna
a76e630f61
Update docs/en/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-26 18:46:47 +03:00
Anna
d124bad0dc
Update docs/en/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-26 18:46:40 +03:00
Alexey
07aa058878 Description of input_format_null_as_default is extended.
Sentences reordered.
2021-05-26 13:03:46 +00:00
lehasm
f1b98e6928
Update docs/en/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-26 09:44:09 +03:00
Alexey
59442ac3d1 input_format_null_as_default description
is made similar to insert_null_as_default
2021-05-25 17:28:21 +00:00
alesapin
0597211605
Merge pull request #24441 from adevyatova/annadevyatova-DOCSUP-8462-pool-size
DOCSUP-8462: Document the background_fetches_pool_size setting
2021-05-25 14:34:06 +03:00
lehasm
592073ec77
Update docs/en/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-25 14:10:05 +03:00
lehasm
c2cb50f3be
Update docs/en/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-25 14:09:55 +03:00
lehasm
a4dacc4875
Update docs/en/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-25 11:42:29 +03:00
adevyatova
3c171f3344 update settings.md 2021-05-24 19:35:31 +00:00
Anna
a21398c839
Merge branch 'master' into annadevyatova-DOCSUP-8711-sumCount 2021-05-24 20:59:08 +03:00
adevyatova
634e18f7f4 Add setting desc 2021-05-24 17:44:53 +00:00
Alexey
aa7d625428 Description of input_format_null_as_default changed a bit 2021-05-24 15:32:55 +00:00
Alexey
715c88e5fa Returned INSERT ... VALUES statement.
'non-Nullable' changed to 'not nullable'
2021-05-24 15:26:23 +00:00
adevyatova
5ac2b846a5 Add en,ru desc 2021-05-24 08:53:40 +00:00
lehasm
f32b0dc886
Update docs/en/operations/settings/settings.md
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2021-05-24 08:21:03 +03:00
lehasm
97415e931e
Update docs/en/operations/settings/settings.md
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2021-05-24 08:12:17 +03:00
Alexey
a3640cd7ea Description updated 2021-05-23 20:02:17 +00:00
Alexander Kuzmenkov
e9b69bbd70
Merge pull request #23906 from azat/fix-distributed_group_by_no_merge
distributed_group_by_no_merge fixes
2021-05-19 16:16:08 +03:00
Anna
e0d04acbd7
Update settings.md 2021-05-16 21:11:42 +03:00
Anna
7071894081
Update settings.md 2021-05-16 21:10:13 +03:00
Anna
c605b199ee
Update docs/en/operations/settings/settings.md
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-05-16 21:06:07 +03:00
Anna
b32ac3a6f4
Update docs/en/operations/settings/settings.md
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-05-16 21:04:07 +03:00
Anna
ae84e5a673
Update docs/en/operations/settings/settings.md
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-05-16 21:03:41 +03:00
Anna
3783e0c483
Update docs/en/operations/settings/settings.md
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-05-16 21:03:17 +03:00
Azat Khuzhin
a44ddd2064 Update distributed_group_by_no_merge description 2021-05-15 15:03:13 +03:00
Anna
e92e66c01e
Merge branch 'master' into annadevyatova-DOCSUP-8026-replicated 2021-05-13 20:49:19 +03:00
adevyatova
6100245f75 update 2021-05-13 17:45:26 +00:00
kirillikoff
0e92cc06df
Update docs/en/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-04 15:09:15 +03:00
Tatiana Kirillova
c763a5c33f max-uri-size 2021-05-03 20:16:44 +03:00
Mikhail
b76924323d fix 2021-04-26 03:13:10 +03:00
michon470
1d2184e830
Update docs/en/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-26 03:00:25 +03:00
michon470
1540ac1f81
Update docs/en/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-26 02:59:11 +03:00
michon470
7b947140b9
Update docs/en/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-26 02:59:04 +03:00
michon470
bb03d7ab3f
Update docs/en/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-26 02:58:57 +03:00
Mikhail
8b714579ed Revert "Revert "Merge branch 'master' into kuryatnikovm-DOCSUP-8022-prefer_column_name_to_alias""
This reverts commit 7005feddf2.
2021-04-26 02:36:27 +03:00
Mikhail
7005feddf2 Revert "Merge branch 'master' into kuryatnikovm-DOCSUP-8022-prefer_column_name_to_alias"
This reverts commit 74190165ff, reversing
changes made to 51d4e4d307.
2021-04-26 02:03:32 +03:00
michon470
74190165ff
Merge branch 'master' into kuryatnikovm-DOCSUP-8022-prefer_column_name_to_alias 2021-04-26 01:56:24 +03:00
michon470
2897635869
Update docs/en/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-25 13:45:06 +03:00
michon470
a4904368f7
Update docs/en/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-25 13:44:34 +03:00
michon470
0e2189ed08
Update docs/en/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-23 10:57:35 +03:00
michon470
df3e457f44
Update docs/en/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-23 10:57:05 +03:00
Anna
834555e951
Update docs/en/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-23 09:53:38 +03:00
Anna
2fd0147799
Update docs/en/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-23 09:53:27 +03:00
Anna
ca4ad5209e
Update docs/en/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-23 09:51:55 +03:00
Anna
8d3808bd7f
Update docs/en/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-23 09:51:03 +03:00
adevyatova
b0ccc06a90 add ru docs 2021-04-22 18:53:22 +00:00
Anna
6abd55880e
Merge branch 'master' into annadevyatova-DOCSUP-5911-limit 2021-04-22 21:31:40 +03:00
adevyatova
4b49e9259b docs for limit and offset settings 2021-04-22 18:27:06 +00:00
Mikhail
0cfed0891b Setting overview expanded 2021-04-22 14:30:54 +03:00
alexey-milovidov
5e326a9824
Update settings.md 2021-04-22 08:56:21 +03:00
Azat Khuzhin
fbb386dca5 Rewrite IN in query for remote shards to exclude values that does not belongs to shard
v2: fix optimize_skip_unused_shards_rewrite_in for sharding_key wrapped into function
v3: fix column name for optimize_skip_unused_shards_rewrite_in
v4: fix optimize_skip_unused_shards_rewrite_in with Null
v5:
- squash with Remove query argument for IStreamFactory::createForShard()
- use proper column after function execution (using sharding_key_column_name)
- update the test reference since (X) now is tuple(X)
2021-04-12 10:37:28 +03:00
michon470
0ef5f6b9b2
Merge branch 'master' into kuryatnikovm-DOCSUP-8022-prefer_column_name_to_alias 2021-04-12 00:01:06 +03:00
Mikhail
d2c828871a Update settings.md 2021-04-11 19:58:01 +03:00
olgarev
a6b6734231
Apply suggestions from code review
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-04-04 22:39:18 +03:00
Olga Revyakina
b980120042 First commit 2021-04-04 21:27:00 +03:00
Anna
ca25d6c909 add ru desc 2021-04-02 22:16:48 +03:00
Anna
0945285fae
Merge branch 'master' into annadevyatova-DOCSUP-6113-atomic 2021-04-02 14:45:10 +03:00
Anna
5784dffd0d Fixed after review 2021-04-02 14:43:13 +03:00
alexey-milovidov
b3dc44e267
Merge pull request #22350 from gyuton/gyuton-DOCSUP-8002-Edit-and-translate-to-Russian
DOCSUP-8002: Edited and translated to Russian (insert_distributed_one_random_shard)
2021-04-01 17:15:33 +03:00
Anna
56cf8f10be update atomic desc, add settings desc 2021-04-01 15:50:47 +03:00
Anton Popov
9e2e41f713
Update settings.md 2021-03-30 16:07:54 +03:00
George
21f89567c4 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into gyuton-DOCSUP-6212-document-the-log_comment_setting 2021-03-30 11:58:16 +03:00
George
9bd66638bd Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into gyuton-DOCSUP-8002-Edit-and-translate-to-Russian 2021-03-30 11:55:49 +03:00
George
501ee79a28 small fixes 2021-03-30 11:49:54 +03:00
alexey-milovidov
9d84f3113a
Merge pull request #21512 from azat/optimize_skip_unused_shards_limit
Add optimize_skip_unused_shards_limit
2021-03-29 21:13:18 +03:00
George
f43bb61a26 updated settings.md 2021-03-29 21:11:12 +03:00
George
a057a66b08 updated settings.md 2021-03-29 21:05:31 +03:00
George
bba5c08856 Fix 2021-03-28 04:22:58 +03:00
gyuton
bfcff1c915
Update docs/en/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-03-28 01:15:28 +03:00
George
d1fcaf66ba Small changes 2021-03-26 18:58:39 +03:00
George
a91a960b2b Added description 2021-03-26 18:45:09 +03:00
George
92ff804c31 first entry 2021-03-26 15:49:21 +03:00
Mikhail
979beae635 Merge branch 'kuriatnikovm-DOCSUP-7105-translate_changes' of https://github.com/michon470/ClickHouse into kuriatnikovm-DOCSUP-7105-translate_changes 2021-03-26 12:20:56 +03:00
Mikhail
37d8dfbeda ошибка 2021-03-26 12:00:31 +03:00
michon470
9847b73250
Update docs/en/operations/settings/settings.md
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-03-26 10:46:25 +03:00