Commit Graph

188 Commits

Author SHA1 Message Date
alexey-milovidov
18eb141ea1
Merge pull request #11715 from azat/dist-optimize_skip_unused_shards-fixes
Control nesting level for shards skipping and disallow non-deterministic functions
2020-06-24 12:54:58 +03:00
Azat Khuzhin
b0779dbfe7 Fix documentation 2020-06-23 21:08:28 +03:00
alexey-milovidov
4c12f057f6
Merge pull request #11772 from BayoNet/docs/CLICKHOUSEDOCS-658-mv-block-settings
DOCS-658: Materialized views block settings
2020-06-21 17:58:51 +03:00
BayoNet
d29e1ce986
DOCS-602: transform_null_in (#11734)
* Revolg DOCSUP-996 Document the transform_null_in setting (#124)

* Add doc for transform_null_in setting

* Apply suggestions from code review

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

* Add doc for the transform_null_in setting (ru)

* Add transform_null_in setting (ru). Anchor fixed

* Add doc for the transform_null_in setting (ru,en). Misspell fixed, anchor fixed.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* CLICKHOUSEDOCS-602: Updated text.

* Deleted symlink to IN operator.

* CLICKHOUSEDOCS-602: Fixed links.

* CLICKHOUSEDOCS-602: Updated the description.

* CLICKHOUSEDOCS-602: Updated by comments.

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-06-19 12:18:57 +03:00
Sergei Shtykov
5ce12d8d2b CLICKHOUSEDOCS-658: Minor fix. 2020-06-18 22:21:30 +03:00
Evgenia Sudarikova
d0cfa35ab0
DOCSUP-1316 (#122)
* add EN version

* change links in EN version

* changes after review

* add RU description

* minor changes
2020-06-18 22:11:47 +03:00
Azat Khuzhin
6507247328 optimize_skip_unused_shards=2 will disable it for nested distributed queries
P.S. Looks like settings can be converted between SettingUInt64 and
SettingBool without breaking binary protocol.

FWIW maybe it is a good idea to change the semantics of the settings as
follow (but I guess that changing semantic is not a good idea, better to
add new settings and deprecate old ones):
- optimize_skip_unused_shards -- accept nesting level on which the
  optimization will work
- force_skip_optimize_shards_nesting -- accept nesting level on which
  the optimization will work
2020-06-18 21:49:29 +03:00
BayoNet
58786f9929
DOCS-620: Background pools settings (#11358)
* DOCSUP-1036: Describe settings for different pools (#118)

* describe settings for different pools

* minor changes

* add refs to and from distributed, server settings, kafka, replication, mergetree

* changes in links description

* add description and links to RU version

* add descrtiption and links to ru version

* minor changes

* CLICKHOUSEDOCS-620: Returned text lost by the last merge.

Co-authored-by: Evgenia Sudarikova <56156889+otrazhenia@users.noreply.github.com>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-06-02 21:11:56 +03:00
BayoNet
5088f409ca
DOCS-611: background_buffer_flush_schedule_pool_size setting (#11176)
* DOCSUP-1003 background_buffer_flush_schedule_pool_size setting (#116)

* changes after review

* add RU version

* CLICKHOUSEDOCS-611: Fixed text.

Co-authored-by: Evgenia Sudarikova <56156889+otrazhenia@users.noreply.github.com>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2020-06-02 11:42:05 +03:00
BayoNet
09369c259c
DOCS-527: system.query_log (#11197)
* DOCSUP-824: query log (#115)

* Draft changes.

* Next step.

* Structure was changed. Missed information was added.

* More edits.

* Update docs/en/operations/system-tables.md

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

* Update docs/en/operations/system-tables.md

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

* Update docs/en/operations/system-tables.md

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

* Comments editing was done.

* Translated to russian.

Co-authored-by: Anastasia Uvarova <ana-uvarova@yandex-team.ru>
Co-authored-by: AnaUvarova <64017504+AnaUvarova@users.noreply.github.com>

* CLICKHOUSEDOCS-527: query_log description.

* CLICKHOUSEDOCS-527: Updated structure.

* CLICKHOUSEDOCS-527: Fixed links.

* Update docs/en/operations/system-tables.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Updated by comments.

* CLICKHOUSEDOCS-527: Updated by comments
.

* CLICKHOUSEDOCS-527: Syncronized EN->RU

Co-authored-by: Anastasia Uvarova <ana-uvarova@yandex-team.ru>
Co-authored-by: AnaUvarova <64017504+AnaUvarova@users.noreply.github.com>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-05-29 12:43:49 +03:00
BayoNet
266fa9d99c
DOCS-627: Fixed language and markup in EN version and translated to RU. (#11001)
* DOCSUP-1063 (#114)

* added first draft

* added translation for force_optimize_skip_unused_shards and fixed anchors

* fixes

* fixes

* fixed alter.md

Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>

* CLICKHOUSEDOCS-627: Updated templated.

* Fixed markup.

* CLICKHOUSEDOCS-627: Fixed links.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: emironyuk <62014692+emironyuk@users.noreply.github.com>
Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>
2020-05-19 09:02:30 +03:00
BayoNet
c701493e30 DOCS-626: EN review, RU translations for RBAC docs (#10951)
* DOCSUP-1062 (#112)

* added first draft

* minor fixes

* fixed anchors

* yet another fixes

* and the minorest fixes

* Apply suggestions from doc review

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

* fixed terminology in ru (access entity, throws exception)

* fixed typo

* fixed typo

Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* Fixed link.

* CLICKHOUSEDOCS-626: Fixed links.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: emironyuk <62014692+emironyuk@users.noreply.github.com>
Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>
2020-05-15 23:30:51 +03:00
Ivan Blinkov
cd14f9ebcb
SQL reference refactoring (#10857)
* split up select.md

* array-join.md basic refactoring

* distinct.md basic refactoring

* format.md basic refactoring

* from.md basic refactoring

* group-by.md basic refactoring

* having.md basic refactoring

* additional index.md refactoring

* into-outfile.md basic refactoring

* join.md basic refactoring

* limit.md basic refactoring

* limit-by.md basic refactoring

* order-by.md basic refactoring

* prewhere.md basic refactoring

* adjust operators/index.md links

* adjust sample.md links

* adjust more links

* adjust operatots links

* fix some links

* adjust aggregate function article titles

* basic refactor of remaining select clauses

* absolute paths in make_links.sh

* run make_links.sh

* remove old select.md locations

* translate docs/es

* translate docs/fr

* translate docs/fa

* remove old operators.md location

* change operators.md links

* adjust links in docs/es

* adjust links in docs/es

* minor texts adjustments

* wip

* update machine translations to use new links

* fix changelog

* es build fixes

* get rid of some select.md links

* temporary adjust ru links

* temporary adjust more ru links

* improve curly brace handling

* adjust ru as well

* fa build fix

* ru link fixes

* zh link fixes

* temporary disable part of anchor checks
2020-05-15 07:34:54 +03:00
Ivan Blinkov
2521a37c94
Some fixes at ru merge-tree-settings.md (#10837) 2020-05-12 12:30:08 +03:00
alexey-milovidov
1e73e02bc0
Merge pull request #10620 from den-crane/Docs/merge-tree-settings-cont
Doc. merge-tree-settings.md
2020-05-11 06:42:57 +03:00
BayoNet
dba72d73fe
DOCS-624: Fixing links to nowhere (#10675)
* enbaskakova-DOCSUP-652 (#101)

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

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

* Revert "enbaskakova-DOCSUP-652 (#101)" (#107)

This reverts commit 639fee7610.

* CLICKHOUSEDOCS-624: Fixed links. Was 60, became 13.

* CLICKHOUSEDOCS-624: Finished fix links in Enlish version.

* CLICKHOUSEDOCS-624: Fixed RU links

Co-authored-by: elenaspb2019 <47083263+elenaspb2019@users.noreply.github.com>
Co-authored-by: elenbaskakova <elenbaskakova@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-05-06 09:13:29 +03:00
Denis Zhuravlev
44f937f365
Update merge-tree-settings.md 2020-05-05 17:51:58 -03:00
Denis Zhuravlev
68de817fd1 merge-tree-settings.md 2020-05-01 18:19:20 -03:00
Ivan Blinkov
d91c97d15d
[docs] replace underscores with hyphens (#10606)
* Replace underscores with hyphens

* remove temporary code

* fix style check

* fix collapse
2020-04-30 21:19:18 +03:00
BayoNet
701fdc5d2d
DOCS-372: background_pool_size (#10589)
* background_pool_size setting documentation (DOCSUP-707) (#102)

* background_pool_size setting documentation

* background_pool_size documentation: changes after review

* background_pool_size documentation: RU version

* CLICKHOUSEDOCS-372: Described background_pool_size.

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

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>

* CLICKHOUSEDOCS-372: Updated by comments.

Co-authored-by: otrazhenia <56156889+otrazhenia@users.noreply.github.com>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-04-30 16:18:48 +03:00
BayoNet
91fe5096ec
DOCS-30: min_insert_block_size_rows and min_insert_block_size_bytes (#10344)
* DOCSUP-710: min_insert_block_size_rows & min_insert_block_size_bytes settings (#99)

* docs(min_insert_block_size rows&&min_insert_block_size_bytes): added description

* Apply suggestions from review

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* added russian translation

Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* CLICKHOUSEDOCS-30: min_insert_block_size_rows and min_insert_block_size_bytes

* CLICKHOUSEDOCS-30: Typo fix.

Co-authored-by: emironyuk <62014692+emironyuk@users.noreply.github.com>
Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-04-22 20:20:47 +03:00
alexey-milovidov
d246218379
Merge pull request #10161 from den-crane/Docs/merge-tree-settings
Docs/merge tree settings
2020-04-18 16:01:12 +03:00
BayoNet
2a335434c6
DOCS-518: EN->RU sync (#10258)
* Pewit docsup 801 (#97)

* Add a note about zero-based array indexes.

* add description of input_format_values_deduce_templates_of_expressions, input_format_values_accurate_types_of_literals

* fix description of input_format_values_deduce_templates_of_expressions, input_format_values_accurate_types_of_literals according to templates

* fix: correct minor typos, tenses

* CLICKHOUSEDOCS-518: Some translations.

* CLICKHOUSEDOCS-518: Fixed grammar.

Co-authored-by: pewit-nk <62423826+pewit-nk@users.noreply.github.com>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-04-15 11:57:11 +03:00
Denis Zhuravlev
f32ae36f22
Update merge_tree_settings.md 2020-04-10 10:48:53 -03:00
Denis Zhuravlev
ad0c994b28
Update merge_tree_settings.md 2020-04-10 10:48:19 -03:00
Denis Zhuravlev
6cc1389356
Update merge_tree_settings.md 2020-04-10 10:38:58 -03:00
Denis Zhuravlev
aba149d8a2
Update merge_tree_settings.md 2020-04-09 22:35:28 -03:00
Denis Zhuravlev
af73f55581
Update merge_tree_settings.md 2020-04-09 21:24:37 -03:00
Denis Zhuravlev
eb57e54a21
Update merge_tree_settings.md 2020-04-09 21:23:12 -03:00
Denis Zhuravlev
14e22ab6b3
old_parts_lifetime 2020-04-09 21:16:48 -03:00
Denis Zhuravlev
c4c78f8e73
Update merge_tree_settings.md 2020-04-09 19:19:42 -03:00
Denis Zhuravlev
825785283c
Update merge_tree_settings.md 2020-04-09 19:17:12 -03:00
Denis Zhuravlev
6a10d0df00
Update merge_tree_settings.md
fix max_delay_to_insert formula
2020-04-09 19:08:35 -03:00
Denis Zhuravlev
bc8b724f5e
Update merge_tree_settings.md
fix max_delay_to_insert formula
2020-04-09 19:05:38 -03:00
Denis Zhuravlev
22a55c4951 Doc. merge_tree_settings 2020-04-09 18:45:29 -03:00
Ivan Blinkov
a4e2fd24b0
Get rid of toc_ru.yml (#10152) 2020-04-09 21:06:07 +03:00
Ivan Lezhankin
06446b4f08 dbms/ → src/ 2020-04-03 18:14:31 +03:00
Ivan
97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00
Ivan Blinkov
790704d081
Restore some old manual anchors in docs (#9803)
* Simplify 404 page

* add es array_functions.md

* restore some old manual anchors

* update sitemaps

* trigger checks

* restore more old manual anchors

* refactor test.md + temporary disable failure again

* fix mistype
2020-03-22 12:14:59 +03:00
Ivan Blinkov
2e1f6bc56d
[experimental] add "es" docs language as machine translated draft (#9787)
* replace exit with assert in test_single_page

* improve save_raw_single_page docs option

* More grammar fixes

* "Built from" link in new tab

* fix mistype

* Example of include in docs

* add anchor to meeting form

* Draft of translation helper

* WIP on translation helper

* Replace some fa docs content with machine translation

* add normalize-en-markdown.sh

* normalize some en markdown

* normalize some en markdown

* admonition support

* normalize

* normalize

* normalize

* support wide tables

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* lightly edited machine translation of introdpection.md

* lightly edited machhine translation of lazy.md

* WIP on translation utils

* Normalize ru docs

* Normalize other languages

* some fixes

* WIP on normalize/translate tools

* add requirements.txt

* [experimental] add es docs language as machine translated draft

* remove duplicate script

* Back to wider tab-stop (narrow renders not so well)
2020-03-21 07:11:51 +03:00
Ivan Blinkov
8561a026b1
WIP on docs translation/normalization tools (#9783) 2020-03-20 21:20:59 +03:00
BayoNet
a4568b52e0
DOCS-511: Deleted some experimental settings. Removed duplicated description for join_any_take_last_row. (#9639)
* CLICKHOUSEDOCS-511: Removed obsolete settings.

* CLICKHOUSEDOCS-511: Removed duplication for ## join_use_nulls {#join_use_nulls}.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-03-14 01:12:54 +03:00
Denis Zhuravlev
e867891265
Merge branch 'master' into docs/deduplicate_blocks_in_dependent_materialized_views 2020-03-12 11:53:41 -03:00
Alexey Milovidov
22a89d5d8e Fixed changelog and documentation 2020-03-12 17:20:10 +03:00
Denis Zhuravlev
bbef6a29c9 Fixed the wrong(old) parameter name to the correct one -- deduplicate_blocks_in_dependent_materialized_views 2020-03-11 23:57:47 -03:00
alexey-milovidov
709667b8d7
Merge pull request #9548 from den-crane/patch-20
Doc change. insert_deduplicate , force_deduplicate_childrens RU description
2020-03-07 15:37:39 +03:00
alexey-milovidov
03551865a8
Merge pull request #9373 from den-crane/patch-19
Doc. change. max_insert_threads RU description
2020-03-07 02:46:11 +03:00
Denis Zhuravlev
5db4222ff8
Update settings.md
insert_deduplicate , force_deduplicate_childrens RU description
2020-03-06 19:25:22 -04:00
Denis Zhuravlev
42cc6f4e3c
Update settings.md
max_insert_threads corrected ru description
2020-03-06 16:29:48 -04:00
Sergei Shtykov
117845b2be CLICKHOUSEDOCS-548: Repaired master build. 2020-03-06 15:44:22 +03:00