Commit Graph

7238 Commits

Author SHA1 Message Date
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
07a78d53c1 translation fix 2021-06-09 17:08:44 +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
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
damozhaeva
802f48ea86
Update docs/ru/sql-reference/functions/date-time-functions.md
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-06-07 13:42:18 +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
Dmitriy
57bb73fb91 Update apply-catboost-model.md
Перевел небольшой текст в этом файле на русский язык.
2021-06-04 23:07:28 +03:00
Dmitriy
d8271c0705 Translate to Russian
Перевел на русский язык.
2021-06-04 20:38:05 +03:00
presto53
c362e35196
Update s3.md 2021-06-04 17:41:59 +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
Nikita Mikhaylov
66da4988de
Update s3.md 2021-06-04 14:40:32 +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
Nikita Mikhaylov
730e7feea0
Update s3.md 2021-06-04 02:45:25 +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
mergify[bot]
9e2c454db2
Merge branch 'master' into merging-s3-backoff 2021-06-03 18:58:24 +00:00
Ilya Yatsishin
cc2ef7daea
Merge pull request #24913 from nickshch/patch-1 2021-06-03 21:37:15 +03:00
Vladimir Goncharov
bea934f40c
Update mysql.md
The MySQL engine also allows to perform `INSERT`
2021-06-03 20:12:19 +03:00
Vladimir Goncharov
f60f247739
Update mysql.md
Движок MySQL позволяет выполнять также и `INSERT`
2021-06-03 20:07:55 +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
Nikolay Shcheglov
f152bafd75
Fix nullable link 2021-06-03 15:15:46 +03: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
Dmitriy
ab9615ed92 Update intervalLengthSum.md
Поправил русскую версию.
2021-06-02 22:04:46 +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
adevyatova
d79f2bfa32 update 2021-06-02 18:52:29 +00: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
f9b5c23457 add ru docs 2021-06-02 08:40:53 +00:00
adevyatova
b4c376c397 update 2021-06-02 08:36:19 +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
Azat Khuzhin
931cfb548d docs: update requests (to fix conflicts with urllib3)
Fixes: 94b18bdfb8
2021-06-02 09:11:02 +03:00
alexey-milovidov
94b18bdfb8
Update requirements.txt 2021-06-02 03:11:32 +03:00
Dmitriy
dad4d9d0c5 Create intervalLengthSum.md
Задокументировал функцию intervalLengthSum.
2021-06-01 20:44:04 +03:00
Nikita Mikhaylov
c00d55f705 better 2021-06-01 14:28: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
kirillikoff
1a328815c1
Update table.md 2021-05-31 09:59:33 +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
37bd69d288
Update docs/ru/sql-reference/functions/encoding-functions.md
Co-authored-by: Anton Popov <pad11rus@gmail.com>
2021-05-31 07:30:40 +03:00
Anna
7d41ba91fa
Update docs/ru/sql-reference/functions/encoding-functions.md
Co-authored-by: Anton Popov <pad11rus@gmail.com>
2021-05-31 07:30:32 +03:00
adevyatova
fcf39609aa small fix 2021-05-30 18:34:15 +00:00
adevyatova
e8ab54b2db Merge branch 'annadevyatova-DOCSUP-8214-dictGet' of https://github.com/adevyatova/ClickHouse into annadevyatova-DOCSUP-8214-dictGet 2021-05-30 18:30:43 +00:00
adevyatova
d04b802cb0 update 2021-05-30 18:30:23 +00: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
b6ba7dea39
Update docs/ru/sql-reference/functions/ext-dict-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-30 21:15:26 +03:00
Anna
f9a22e683c
Update docs/ru/sql-reference/functions/ext-dict-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-30 21:15:11 +03:00
Anna
c859712c9c
Update docs/ru/sql-reference/functions/ext-dict-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-30 21:15:06 +03: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
7fc25ed708 fixed 2021-05-30 12:22:49 +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
c32e4fc1a4 update 2021-05-30 09:29:22 +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
4ba9e15851
Update docs/ru/sql-reference/statements/create/table.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-29 18:24:57 +03:00
kirillikoff
4da019e178
Update docs/ru/sql-reference/statements/create/table.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-29 18:24:48 +03: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
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
Dmitriy
50c01d4045 Update system.md
Внес небольшую правку в пример.
2021-05-26 22:29:37 +03:00
Dmitriy
caef388629 Update replacingmergetree.md
Заменил парт на кусок и инсерт на вставку.
2021-05-26 22:26:08 +03:00
sevirov
8c4fa9385f
Update docs/ru/engines/table-engines/mergetree-family/replacingmergetree.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-05-26 22:18:34 +03:00
sevirov
79594381ff
Update docs/ru/engines/table-engines/mergetree-family/replacingmergetree.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-05-26 22:18: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
sevirov
15299d325e
Update docs/ru/operations/system-tables/stack_trace.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-05-26 22:17:43 +03:00
sevirov
107207cc21
Update docs/ru/operations/system-tables/stack_trace.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-05-26 22:17:29 +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
Tatiana Kirillova
a134507492 Document table comments update 2021-05-26 21:36:38 +03:00
Tatiana Kirillova
ea16fb3c8a Document table comments 2021-05-26 21:12:52 +03:00
Dmitriy
991ae97fb6 Translate to Russian
Выполнил перевод на русский язык.
2021-05-26 20:53:51 +03:00
sevirov
620f275523
Update docs/en/sql-reference/table-functions/dictionary.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-26 20:13:05 +03:00
sevirov
2a1c5acd31
Update docs/en/sql-reference/table-functions/dictionary.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-26 20:12:40 +03:00
sevirov
c8b9a464d7
Update docs/en/sql-reference/table-functions/dictionary.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-26 20:12:30 +03:00