Commit Graph

1382 Commits

Author SHA1 Message Date
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
George
77e048977b updated settings.md 2021-06-14 19:02:04 +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
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
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
Dmitriy
c56a1eb7b6 Correction of the translation
Поправил перевод.
2021-06-08 23:36:57 +03: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
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
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
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
Tatiana Kirillova
ee049678a1 Translation into Russian and system.tables 2021-05-29 16:42:21 +03: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
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
7b515c7235
Avoid short syntax 2021-05-27 21:44:11 +02:00
Dmitriy
f68a6af5f0 Update examples
Обновил примеры.
2021-05-27 20:01:56 +03: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
Dmitriy
9a963a7a1f Add thread_name and support DateTime64
Добавил столбец thread_name и поддержку типа данных DateTime64.
2021-05-26 00:39:34 +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
Dmitriy
8c57f0d50d Edit and translate to Russian
Выполнил перевод на русский язык.
2021-05-24 20:24:40 +03: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
BoloniniD
199393a37a Fixed link to config example in config-files.md 2021-05-24 13:48:45 +03: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