Commit Graph

577 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
e05102f545 fixed 2021-06-03 09:31:45 +00: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
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
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
ee25971426 en, ru docs 2021-05-30 09:24:41 +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