Commit Graph

250 Commits

Author SHA1 Message Date
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
c34f1ed6fd
DOCS-631: Settings partial_merge_join_optimizations, partial_merge_join_rows_in_right_blocks (#11130)
* CLICKHOUSEDOCS-631: Settings partial_merge_join_optimizations, partial_merge_join_rows_in_right_blocks

* CLICKHOUSEDOCS-631: Updated by comments.

* CLICKHOUSEDOCS-631: Fixed some grammar.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-05-27 17:13:37 +03:00
BayoNet
3ff28d0a7a
DOCS-112: any_join_distinct_right_table_keys (#11065)
* CLICKHOUSEDOCS-112: any_join_distinct_right_table_keys

* CLICKHOUSEDOCS-112: Updated link.

* CLICKHOUSEDOCS-112: Updated by comments.

* CLICKHOUSEDOCS-112: Updated by comments.

* CLICKHOUSEDOCS-112: Fixed grammar.

* CLICKHOUSEDOCS-112: Updated by comments.

* CLICKHOUSEDOCS-112: Fixed typo.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-05-26 18:10:56 +03:00
BayoNet
42f72d526f
DOCS-323: LowCardinality (#11060)
* CLICKHOUSEDOCS-323: The first version of the description.

* CLICKHOUSEDOCS-323: Update.

* CLICKHOUSEDOCS-323: toLowCardinality, low_cardinality_max_dictionary_size

* CLICKHOUSEDOCS-323: Added descriptions of low_cardinality_use_single_dictionary_for_part, low_cardinality_allow_in_native_format, allow_suspicious_low_cardinality_types.

* Update docs/en/sql-reference/data-types/lowcardinality.md

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

* Update docs/en/sql-reference/data-types/lowcardinality.md

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

* Update docs/en/sql-reference/functions/type-conversion-functions.md

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

* CLICKHOUSEDOCS-323: Updated by comments.

* CLICKHOUSEDOCS-323: Updated by comments.

* CLICKHOUSEDOCS-323: Fixed some grammar.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-05-25 14:01:28 +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
alesapin
03f09986fd
Add dot. 2020-05-18 16:47:30 +03:00
Alexander Tokmakov
e542e814de better background_pool_size description in docs 2020-05-18 16:34:54 +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
BayoNet
4ec7821fec
DOCS-624: Fixing links to nowhere 2 (#10703)
* 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 en

* CLICKHOUSEDOCS-624: Fixed RU.

* CLICKHOUSEDOCS-624: Fixed ES and FR.

* CLICKHOUSEDOCS-624: Fixed JA and TR

* CLICKHOUSEDOCS-624: Fixed FA.

* CLICKHOUSEDOCS-624: Fixed ZH.

* Update docs/tools/test.py

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

* Update docs/tools/test.py

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

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>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-05-06 22:28:06 +03:00
Fan()
fd50b543cf
Update settings.md 2020-05-06 18:02:10 +08: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
Sergei Shtykov
7400be8552 CLICKHOUSEDOCS-558: Resolved conflicts after #10606 2020-05-01 17:48:16 +03:00
Sergei Shtykov
8e2747d4b0 Merge branch 'master' of github.com:ClickHouse/ClickHouse into docs/CLICKHOUSEDOCS-558-RBAC-introduction 2020-05-01 16:49:56 +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
Sergei Shtykov
07314bfa13 Merge branch 'master' of github.com:ClickHouse/ClickHouse into docs/CLICKHOUSEDOCS-558-RBAC-introduction 2020-04-15 17:58:04 +03:00
Sergei Shtykov
be9959e2bc Updated after review by Vitaliy. 2020-04-15 17:57:49 +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
Sergei Shtykov
d0083b08c1 Merge branch 'master' of github.com:ClickHouse/ClickHouse into docs/CLICKHOUSEDOCS-558-RBAC-introduction 2020-04-14 13:16:10 +03:00
Sergei Shtykov
16f0554bf8 CLICKHOUSEDOCS-558: Ready for review introduction. 2020-04-14 13:14:19 +03:00
Azat Khuzhin
365b5207b7 Add log_queries_min_type to filter which entries will be written to query_log
Can be used to write into query_log only failed queries (i.e. on memory
exceeded error), by using:

  set log_queries_min_type='EXCEPTION_WHILE_PROCESSING'
2020-04-12 10:46:36 +03:00
BayoNet
71e2ab43c4
Merges RBAC statements reference with RBAC introduction (#96)
* CLICKHOUSEDOCS-559: Started to describe GRANT

* CLICKHOUSEDOCS-559: Added headers for some other kinds of quries.

* CLICKHOUSEDOCS-559: Further edits.

* CLICKHOUSEDOCS-559: Updated grant description.

* CLICKHOUSEDOCS-559: The first version for the GRANT statement is finished.

* CLICKHOUSEDOCS-559: Almost finished CREATE USER

* CLICKHOUSEDOCS-559: Finished the first version of CREATE queries.

* CLICKHOUSEDOCS-559: Finished ALTER, DROP and SET.

* CLICKHOUSEDOCS-559: Finished the first version of statements.

* CLICKHOUSEDOCS-559: Update by review.

* CLICKHOUSEDOCS-559: Update by review.

* Update docs/en/query_language/alter.md

* Update docs/en/query_language/create.md

Co-Authored-By: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>

* Update docs/en/query_language/grant.md

Co-Authored-By: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>

* Update by comments. Also RBAC-7 aplied.

* moved new files to new structure

* Adopted added articles to a new structure.

* CLICKHOUSEDOCS-559: Fixed links.

* CLICKHOUSEDOCS-559: Links fix.

* CLICKHOUSEDOCS-559: Updated privileges by RBAC-8 changes

* CLICKHOUSEDOCS-559: Added CREATE, ALTER, DROP, and SHOW queries for QUOTAS and SETTINGS PROFILES.

* CLICKHOUSEDOCS-559: Added ON CLUSTER for CREATE, ALTER, DROP.

* CLICKHOUSEDOCS-559: Fixed code-blocks and the anchor.

* CLICKHOUSEDOCS-559: Edits after the last portion of commentaries.

* CLICKHOUSEDOCS-559: Changed example

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2020-04-09 17:02:39 +03:00
Ivan Blinkov
f6f4fb0000
Documentation issues fixes (#10112) 2020-04-08 12:09:59 +03:00
Ivan Lezhankin
8a5a73e76d Merge branch 'master' into dbms2src 2020-04-03 18:20:05 +03:00
Ivan Lezhankin
06446b4f08 dbms/ → src/ 2020-04-03 18:14:31 +03:00
Ivan Blinkov
b66c26d833
Get rid of toc_en.yml (#10023) 2020-04-03 16:23:32 +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
Azat Khuzhin
d019c4e3b3 Add force_optimize_skip_unused_shards_no_nested
force_optimize_skip_unused_shards_no_nested will disable
force_optimize_skip_unused_shards for nested Distributed tables.

Can be useful for multi-layred/bi-level sharding.
2020-03-23 22:30:54 +03:00
Azat Khuzhin
8ffbff85f0 docs: fix force_optimize_skip_unused_shards link
Refs: #9803
2020-03-23 22:07:29 +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
d4dd5ba294
Normalization for en markdown (#9763) 2020-03-20 13:10:48 +03:00
Ivan Blinkov
a764545120
Docs build and grammar fixes (#9750) 2020-03-19 11:31:06 +03:00
Ivan Blinkov
40649ed0bb
remove extra space (#9736) 2020-03-18 21:43:51 +03:00
Ivan Blinkov
5abe3ac3f1
Switch docs to python3 and update MkDocs to 1.1 (#9711)
+ some grammar and css fixes
2020-03-18 16:02:32 +03:00
Denis Zhuravlev
7a863390fc
Update settings.md (#9688)
insert_deduplicate / deduplicate_blocks_in_dependent_materialized_views en description
2020-03-16 23:23:16 +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
6062485ed2
Update query_complexity.md 2020-03-06 21:25:23 -04:00
Denis Zhuravlev
de1420ebd7
Merge branch 'master' into patch-18 2020-03-06 21:22:51 -04:00
Denis Zhuravlev
5f55526b37
Update query_complexity.md
explanation that `max_result_rows result_overflow_mode=break ` depends of max_block_size
2020-03-06 21:14:36 -04: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
a5e4381a98
Update settings.md 2020-03-06 16:42:17 -04:00
Denis Zhuravlev
44b6390c62
Update settings.md
max_insert_threads EN description
2020-03-06 16:35:31 -04:00
Sergei Shtykov
117845b2be CLICKHOUSEDOCS-548: Repaired master build. 2020-03-06 15:44:22 +03:00
Mikhail f. Shiryaev
5f806222f8
Fix typo 2020-02-26 16:07:23 +01:00
Andrew Onyshchuk
cc3f3ed596 Add AvroConfluent docs 2020-02-21 13:44:35 -06:00
Ivan Blinkov
12b80225a0
Update settings.md 2020-02-03 22:39:57 +03:00
alexey-milovidov
59ef2b2009
Merge pull request #8963 from millb/CRLF_in_TSV
CRLF in TSV output format
2020-02-03 15:44:59 +03:00