Commit Graph

337 Commits

Author SHA1 Message Date
Maksim Kita
02da9af32d DateTime comparison with date string literal 2020-11-09 11:29:08 +03:00
Azat Khuzhin
f379f9837d Document use_compact_format_in_distributed_parts_names setting
Since it has been enabled by default, at least it should be documented.
2020-11-06 21:02:44 +03:00
gyuton
0d1fcd2f96
DOCSUP-3227: Documented the persistent setting (#16579)
* added description of disable_set_and_join_persistency setting.

* Changed setting name to persistent, added references about persistent to join table engine and set table engine

* Resolved conflict.

* Added reviewers suggestions

* Added translation for Russian.

* Fixed typos

* Update docs/en/operations/settings/settings.md

Fixed minor stuff.

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update settings.md

Updated translation.

* Fixed description and translation

* Fixed letter cases

Co-authored-by: George <gyuton@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-06 14:23:04 +03:00
Azat Khuzhin
3be8a56f5c Add log_queries_min_query_duration_ms
Only queries slower then the value of this setting will go to system.query_log,
i.e. something like slow_query_log in mysql.

v2: log_queries_min_time renamed to log_queries_min_query_duration_ms
v3: add current_database into system.query_thread_log
v4: rewrite test using current_database
v5: fix query_duration_ms in system.query_thread_log
2020-11-02 21:34:54 +03:00
olgarev
49d3b65cc2
DOCSUP-3537: Documented the output_format_pretty_row_numbers setting (#16446)
* Docs en, ru

* Update docs/en/operations/settings/settings.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Docs for allow_experimental_bigint_types translated to Russian.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-10-30 20:25:05 +03:00
alexey-milovidov
8084ce75cb
Merge pull request #16105 from azat/allow_nondeterministic_optimize_skip_unused_shards
Add allow_nondeterministic_optimize_skip_unused_shards
2020-10-21 00:16:26 +03:00
Azat Khuzhin
9b8abd44ab Add allow_nondeterministic_optimize_skip_unused_shards 2020-10-17 01:07:02 +03:00
vivarum
1d9df13b47
Merge branch 'master' into enable-parsing-of-input-enum-values-by-id-10682 2020-10-16 11:07:01 +03:00
olgarev
cfda514e1f
Corrections to the cast_keep_nullable setting docs (en, ru). (#15991)
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
2020-10-15 20:34:48 +03:00
alexey-milovidov
7d2f96ade9
Merge pull request #14508 from olgarev/revolg-DOCSUP-1675-Doc_the_cast_keep_nullable_setting
DOCSUP-1675 Docs for the cast_keep_nullable setting
2020-10-14 00:06:03 +03:00
alexey-milovidov
fc83bd1088
Merge branch 'master' into setting-date-time-output-format 2020-10-13 23:48:27 +03:00
Alexey Milovidov
db4db42b65 Fix broken links in docs 2020-10-13 20:23:29 +03:00
damozhaeva
e1fcbe749c
Edit and translate to Russian. (#15462)
Co-authored-by: Daria Mozhaeva <dmozhaeva@yandex-team.ru>
2020-10-13 18:29:28 +03:00
Maksim Kita
adaae8a12c Added OutputFormat setting date_time_output_format 2020-10-13 13:59:43 +03:00
alexey-milovidov
7326343f31
Merge pull request #15522 from r1j1k/53r93y-DOCSUP-2866-allow_experimental_bigint_types
DOCSUP-2866: Document the allow_experimental_bigint_types setting
2020-10-08 16:06:42 +03:00
Azat Khuzhin
75e612fc16 Use full featured parser for force_data_skipping_indices 2020-10-07 01:44:14 +03:00
Azat Khuzhin
ef6d12967f Implement force_data_skipping_indices setting 2020-10-07 01:42:31 +03:00
Vasily Kozhukhovskiy
dfc13ca8e7 Enable parsing enum values by their ids for CSV, TSV and JSON input formats
* for CSV and TSV input formats input_format_csv_enum_as_number,
    input_format_tsv_enum_as_number settings should be enabled in order to
    treat input value as enum id
2020-10-06 18:37:54 +03:00
r1j1k
568235ddeb
Merge branch 'master' into 53r93y-DOCSUP-2866-allow_experimental_bigint_types 2020-10-05 09:35:45 +03:00
alexey-milovidov
037d00a633
Merge branch 'master' into revolg-DOCSUP-2403-Document_the_mechanics_of_custom_settings_specifying 2020-10-03 16:57:20 +03:00
alexey-milovidov
a4c16459a7
Update settings.md 2020-10-03 16:55:27 +03:00
Sergey Ryzhkov
ea9045da8d DOCSUP-2866: Document the allow_experimental_bigint_types setting 2020-10-02 08:09:44 +03:00
dmi-feo
9014722695
fix insert_quorum_timeout doc
06d7b6cbef/src/Core/Settings.h (L160)
2020-09-28 19:25:36 +03:00
Olga Revyakina
64a431ae8b Custom settings docs in english. 2020-09-28 05:59:01 +03:00
Olga Revyakina
e6b91cfd92 Merge branch 'master' into revolg-DOCSUP-1675-Doc_the_cast_keep_nullable_setting 2020-09-21 14:27:14 +03:00
alexey-milovidov
21eeebeb7a
Merge pull request #14772 from otrazhenia/evgsudarikova-DOCSUP-2039
DOCS-323: LowCardinality
2020-09-20 23:07:43 +03:00
alexey-milovidov
8e2231036b
Merge pull request #14259 from olgarev/revolg-DOCSUP-1673-Doc_the_output_format_pretty_max_value_width_setting
DOCSUP-1673: Docs for the output_format_pretty_max_value_width setting.
2020-09-19 16:49:27 +03:00
Nikolai Kochetov
c7aff19937
Merge pull request #14221 from hagen1778/settings-leaf-limits
[settings]: introduce new query complexity settings for leaf-nodes
2020-09-18 14:05:10 +03:00
roman
b41421cb1c [settings]: introduce new query complexity settings for leaf-nodes
The new setting should allow to control query complexity on leaf nodes
excluding the final merging stage on the root-node. For example, distributed
query that reads 1k rows from 5 shards will breach the `max_rows_to_read=5000`,
while effectively every shard reads only 1k rows. With setting `max_rows_to_read_leaf=1500`
this limit won't be reached and query will succeed since every shard reads
not more that ~1k rows.
2020-09-17 10:37:05 +01:00
Amos Bird
38d53c38f6
Explicit define what first replica is. 2020-09-16 17:54:41 +08:00
olgarev
06fef7310c
Merge branch 'master' into revolg-DOCSUP-1675-Doc_the_cast_keep_nullable_setting 2020-09-15 06:44:27 +03:00
Olga Revyakina
8506fb20fe Translated into Russian, and typo fixed in English. 2020-09-15 06:38:54 +03:00
olgarev
3617ae4e4b
Update docs/en/operations/settings/settings.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-09-15 06:12:23 +03:00
olgarev
72d27196a0
Apply suggestions from code review
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-09-15 06:10:07 +03:00
Evgeniia Sudarikova
7185b9a945 add changes in RU files 2020-09-12 19:59:03 +03:00
olgarev
352d54fa6b
Merge branch 'master' into revolg-DOCSUP-1673-Doc_the_output_format_pretty_max_value_width_setting 2020-09-08 19:47:13 +03:00
Olga Revyakina
a76139bc22 Minor fixes. 2020-09-05 01:00:07 +03:00
Olga Revyakina
88e5476dbe Docs for the cast_keep_nullable setting (English). 2020-09-05 00:40:31 +03:00
olgarev
f757438e71
Update docs/en/operations/settings/settings.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-09-04 22:03:16 +03:00
alexey-milovidov
4f9df21d3e
Merge pull request #10373 from azat/dist-SELECT-optimization
Optimize queries with LIMIT/LIMIT BY/ORDER BY for distributed with GROUP BY sharding_key
2020-09-04 01:38:56 +03:00
olgarev
9851cd9a26
Minor update in English text and translation into Russian. (#14240)
Co-authored-by: Olga Revyakina <revolg@yandex.ru>
2020-09-03 21:11:46 +03:00
Azat Khuzhin
776688acc2 Add documentation for optimize_distributed_group_by_sharding_key 2020-09-03 00:54:11 +03:00
Azat Khuzhin
fffeeeba06 Force WithMergeableStateAfterAggregation via distributed_group_by_no_merge (convert to UInt64)
Possible values:
- 1 - Do not merge aggregation states from different servers for distributed query processing - in case it is for certain that there are different keys on different shards.
- 2 - same as 1 but also apply ORDER BY and LIMIT stages
2020-09-03 00:52:51 +03:00
Olga Revyakina
045e4f8964 Minor fix. 2020-08-30 23:03:16 +03:00
Olga Revyakina
33a65063ce Docs for the output_format_pretty_max_value_width setting (English). 2020-08-30 22:53:22 +03:00
olgarev
5ecb1717a3
DOCSUP-712: Documented the ttl_only_drop_parts setting (#13823)
* Docs in English for the ttl_only_drop_parts setting.

* Docs in Russian.

* Update docs/ru/operations/settings/settings.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-08-28 13:29:56 +03:00
Alexander Kuzmenkov
c4fc434a13
Merge pull request #14060 from azat/parallel_distributed_insert_select-2
Extend parallel_distributed_insert_select to run INSERT into local table
2020-08-26 20:37:36 +03:00
Azat Khuzhin
50a312534c Extend parallel_distributed_insert_select to run INSERT into local table
Before this patch there was:

- parallel_distributed_insert_select=1, that executes:

    INSERT INTO dist_out SELECT ... FROM underlying_dist_in

After this patch there will be:

- parallel_distributed_insert_select=2, that executes:

    INSERT INTO underlying_dist_out SELECT ... FROM underlying_dist_in

And cover the behaviour w/o integration test, by using the following
techincs:
- SYSTEM STOP DISTRIBUTED SENDS
- prefer_localhost_replica=0
2020-08-25 22:49:13 +03:00
Ivan Blinkov
c0f8fb10bc
Update docs/en/operations/settings/settings.md
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2020-08-19 17:20:59 +03:00
Olga Revyakina
ca95341823 English docs for the lock_acquire_timeout setting. 2020-08-18 09:32:40 +03:00