Azat Khuzhin
103eb17107
Force table creation on SYSTEM FLUSH LOGS (v2)
...
After this patch SYSTEM FLUSH LOGS will force system.*_log table
creatoins (only for enabled tables of course).
This will avoid such hacks like:
set log_queries=1;
select 1;
system flush logs;
This is the second version of the patch, since first has a deadlock [1]
(reported by @alesapin). This version does not use separate lock and do
not issue CREATE TABLE from the query execution thread, instead it
activate flushing thread to do so, hence this should be the same as if
the table will be created during flush.
[1]: https://gist.github.com/alesapin/d915d1deaa27d49aa31223daded02be2
Fixes : #11563
Cc: @alesapin
Cc: @nikitamikhaylov
2020-06-11 23:12:23 +03:00
Denis Zhuravlev
941887fbfd
removed a sentence about global lock during rename ( #11577 )
...
* Update misc.md
removed a sentence about global lock during rename
* Update misc.md
removed a sentence about global lock during rename
* Update docs/en/sql-reference/statements/misc.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
* Update docs/ru/sql-reference/statements/misc.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-10 22:31:51 +03:00
Denis Zhuravlev
ba6574d428
fix typo in greatCircleAngle example ( #11583 )
...
fix typo in greatCircleAngle example
2020-06-10 19:50:27 +03:00
Eugene Klimov
dfa60e01a0
add SYSTEM STOP/START FETCHES and SYNC REPLICA description ( #11444 )
...
* add SYSTEM STOP/START FETCHES and SYNC REPLICA description
Signed-off-by: Slach <bloodjazman@gmail.com>
* fix russian verion
Signed-off-by: Slach <bloodjazman@gmail.com>
* fix typo
Signed-off-by: Slach <bloodjazman@gmail.com>
* add START/STOP REPLICATED SENDS description
Signed-off-by: Slach <bloodjazman@gmail.com>
* Update docs/en/sql-reference/statements/system.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
* sync russian and english version
Signed-off-by: Slach <bloodjazman@gmail.com>
* add SYSTEM START/STOP REPLICATION QUEUES
Signed-off-by: Slach <bloodjazman@gmail.com>
* add SYSTEM RESTART REPLICA
Signed-off-by: Slach <bloodjazman@gmail.com>
* add all missed SYSTEM statement descriptions
Signed-off-by: Slach <bloodjazman@gmail.com>
* fix missed link
Signed-off-by: Slach <bloodjazman@gmail.com>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-08 18:23:13 +03:00
Dmitriev Mikhail
63ab285b5b
[docs] links inside dictionaries documentation ( #11049 )
...
* [docs] links inside dictionaries documentation
* [docs] links
2020-06-05 22:22:38 +03:00
Alexander Mochalin
dd3f3207f1
interval type link ( #11351 )
2020-06-02 08:40:23 +03:00
BayoNet
1d9d1e256f
DOCS-573: system.data_type_families ( #11344 )
...
* DOCSUP-921 (#113 )
* add the description of data_type_families system table
* add related link, change output example, correct columns description
* fix typos add links
* add russian description of data_type_families system table
* fix links to data_type_families system table
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
* CLICKHOUSEDOCS-573: system.data_type_families
* CLICKHOUSEDOCS-573: Corrected the wording.
Co-authored-by: pewit-nk <62423826+pewit-nk@users.noreply.github.com>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-06-02 08:10:59 +03:00
Andrey Chulkov
49276426aa
Merge remote-tracking branch 'upstream/master' into polygon-dict-grids
2020-05-27 03:20:21 +03:00
Andrey Chulkov
f429d1839d
small docs update
2020-05-26 23:12:09 +03:00
Andrey Chulkov
1fe8e15e68
smallfix
2020-05-26 01:57:53 +03:00
Andrey Chulkov
dd393a5051
some refactoring for docs
2020-05-26 01:56:56 +03:00
Arthur Petukhovsky
814f099fd1
Dry polygon dict docs a bit
2020-05-21 02:52:18 +03:00
BayoNet
5e84769c74
DOCS-628: Stable versions of statistical functions v2 ( #11047 )
...
* CLICKHOUSEDOCS-628: Restore deleted changes.
* CLICKHOUSEDOCS-628: pillar
* CLICKHOUSEDOCS-628: Fixed grammar.
* CLICKHOUSEDOCS-628: Translated #8933
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-05-20 08:35:51 +03:00
Anton Kvasha
5a6a8e2715
Documentation for polygon-dict: third draft
2020-05-20 02:04:07 +03:00
Anton Kvasha
d7e7ef6197
Documentation for polygon-dict: second draft
2020-05-19 19:13:47 +03:00
Anton Kvasha
8f5cb77d0a
Documentation for polygon-dict: first draft
2020-05-19 18:46:08 +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
Vladimir Chebotarev
8552d5e9b7
Fixed link to external dictionaries
2020-05-18 19:49:06 +03:00
alexey-milovidov
6d34f24605
Merge branch 'master' into complex_key_direct
2020-05-17 11:55:01 +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
Артем Стрельцов
be731ad62e
Merge branch 'master' of github.com:yandex/ClickHouse into complex_key_direct
2020-05-15 12:01:09 +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
Артем Стрельцов
6b12cfb8e4
documentation added
2020-05-13 19:05:05 +03:00
alesapin
612385d703
Revert "DOCS-628: Stable versions of statistical functions ( #10848 )"
...
This reverts commit 1a4ce6b3c8
.
2020-05-13 16:32:36 +03:00
Ilya Yatsishin
3e164769aa
Merge pull request #10875 from BayoNet/en-docs/CLICKHOUSEDOCS-504-groupArrayInsertAt
...
DOCS-504: groupArrayInsertAt
2020-05-13 11:50:05 +03:00
BayoNet
1a4ce6b3c8
DOCS-628: Stable versions of statistical functions ( #10848 )
...
* CLICKHOUSEDOCS-628: Mentioned Stable versions of staticsical functions.
* CLICKHOUSEDOCS-628: Sync from EN to RU.
* Update docs/ru/sql-reference/aggregate-functions/reference.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
* Update docs/en/sql-reference/aggregate-functions/reference.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
* CLICKHOUSEDOCS-628: Updated formatting.
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-05-13 09:08:35 +03:00
Sergei Shtykov
1a2181fb45
Merge branch 'master' of github.com:ClickHouse/ClickHouse into en-docs/CLICKHOUSEDOCS-504-groupArrayInsertAt
2020-05-13 09:02:31 +03:00
Sergei Shtykov
5d2bf3f6ac
CLICKHOUSEDOCS-504: groupArrayInsertAt
2020-05-13 08:58:51 +03:00
AsiaKorushkina
681dc69ae7
asiana21-DOCSUP-789 ( #110 )
...
* docs(groupArrayInsertAt): added the function description
* docs(groupArrayInsertAt): some changes
* docs(groupArrayInsertAt): some changes 2
* docs(groupArrayInsertAt): some changes 3
* docs(groupArrayInsertAt): parameter section changed
* Update docs/en/sql-reference/aggregate-functions/reference.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql-reference/aggregate-functions/reference.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql-reference/aggregate-functions/reference.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql-reference/aggregate-functions/reference.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql-reference/aggregate-functions/reference.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql-reference/aggregate-functions/reference.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql-reference/aggregate-functions/reference.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql-reference/aggregate-functions/reference.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql-reference/aggregate-functions/reference.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* docs(groupArrayInsertAt): some examples are added
* docs(groupArrayInsertAt): russian translation added
* docs(groupArrayInsertAt): some change in russian translation
Co-authored-by: asiana21 <asiana21@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-05-13 08:46:20 +03:00
BayoNet
f2e2e993e5
DOCS-289: randConstant ( #10838 )
...
* DOCSUP-778 (#111 )
* docs(randConstant): add description
* docs(randConstant): edit link
* docs(randConstant): corrections after review
* docs(randConstant): add description in Russian
Co-authored-by: egilmanova <egilmanova@yandex-team.ru>
* CLICKHOUSEDOCS-289: Updated descriptions.
* CLICKHOUSEDOCS-289: Fixed links.
* Update docs/ru/sql-reference/functions/random-functions.md
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
* Update docs/en/sql-reference/functions/random-functions.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
Co-authored-by: egilmanova <63861789+egilmanova@users.noreply.github.com>
Co-authored-by: egilmanova <egilmanova@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-05-12 19:37:21 +03:00
Ivan Blinkov
723bebafb1
CLICKHOUSE-4862: fix link ( #10836 )
2020-05-12 12:32:28 +03:00
Ivan Blinkov
75e5c1e011
Update aggregatefunction.md
2020-05-09 23:38:07 +03:00
Ivan Blinkov
21d8b6288d
[docs] generate AMP versions for docs articles ( #10732 )
...
* Refactoring in preparation for AMP support
* infrastructure for AMP validation
* Add Metrika counter on AMP page + adjust layout
* more content fixes
* improve amp layout
* improve navigation
* Move converting admonitions to generation time
* strict amp test check
* Batch AMP validation
* Add date published/modified to docs articles and their ld+json meta
* few more content fixes
* improve ld+json meta
* adjust margins
* skip published/modified for stable release docs
* adapt single page mode
* update po
* skip published/modified for single page docs
* update po
* adjust layout
* adjust layout
2020-05-08 11:04:09 +03:00
Ilya Yatsishin
1d281ec032
Merge pull request #10652 from BayoNet/docs/CLICKHOUSEDOCS-623-dicts
...
DOCS-623: Updated introduction to external dictionaries
2020-05-08 09:35:13 +03:00
Artem Streltsov
5220d9a4db
small docs edit ( #10731 )
...
Co-authored-by: Артем Стрельцов <artemstreltsov@Air-2.local>
2020-05-07 23:00:30 +03:00
BayoNet
412992f46f
DOCS-606: JSONExtractKeysAndValuesRaw ( #10695 )
...
* DOCSUP-999: JSONExtractKeysAndValuesRaw (#109 )
* added english description
* fixes
* added russian translation
Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>
* CLICKHOUSEDOCS-606: Fixed translation.
* Update docs/en/sql-reference/functions/json-functions.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
* CLICKHOUSEDOCS-606: Updated by comments.
* Updated by comments.
* CLICKHOUSEDOCS-606: Updated by comments.
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>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-05-07 21:38:27 +03:00
alexey-milovidov
eeac7aa313
Merge pull request #10622 from kekekekule/layout_direct
...
Add direct layout for dictionaries
2020-05-07 01:05:29 +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
Ilya Yatsishin
f19f4930ce
Merge pull request #10649 from BayoNet/docs/CLICKHOUSEDOCS-441-orNull-orDefault
...
DOCS-441: OrNull, OrDefault
2020-05-06 14:51:26 +03:00
Ilya Yatsishin
173f38dbef
Merge pull request #10626 from BayoNet/docs/CLICKHOUSEDOCS-601-isConstant
...
DOCS-601: isConstant
2020-05-06 10:47:49 +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
Sergei Shtykov
efa040050c
CLICKHOUSEDOCS-623: Typo fix.
2020-05-04 14:42:34 +03:00
Sergei Shtykov
37d7bedba2
CLICKHOUSEDOCS-623: Updated introduction to external dictionaries.
2020-05-04 14:39:43 +03:00
Sergei Shtykov
6999ce3afa
CLICKHOUSEDOCS-441: Updated the description.
2020-05-04 11:42:48 +03:00
Sergei Shtykov
0bbe1f97ab
CLICKHOUSEDOCS-441: OrDefault, OrNull
2020-05-04 11:15:49 +03:00
Nikolay Degterinsky
a3e557a5d2
documentation is added & added 'direct' layout into integragion test
2020-05-03 15:55:22 +03:00
BayoNet
f9fd2306a1
DOCS-437: getMacro ( #10614 )
...
* asiana21-DOCSUP-923 (#103 )
* docs(getMacro): added the function descriprion
* docs(getMacro): some changes
* Update docs/en/sql_reference/functions/other_functions.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql_reference/functions/other_functions.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql_reference/functions/other_functions.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* docs(getMacro): added translation of the function description
Co-authored-by: asiana21 <asiana21@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
* CLICKHOUSEDOCS-437: getMacro
* CLICKHOUSEDOCS-437: Fixed conflicts.
* Update docs/en/sql-reference/functions/other-functions.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
* Update docs/en/sql-reference/functions/other-functions.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
* Update docs/en/sql-reference/functions/other-functions.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
* Update docs/en/sql-reference/functions/other-functions.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
* Update docs/en/sql-reference/functions/other-functions.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
* CLICKHOUSEDOCS-437: Updated by comments.
Co-authored-by: AsiaKorushkina <43650329+AsiaKorushkina@users.noreply.github.com>
Co-authored-by: asiana21 <asiana21@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-05-02 21:01:13 +03:00
emironyuk
965c18e80e
created new branch for isConstant function, added russian translation ( #105 )
...
Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>
2020-05-02 18:14:10 +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