Commit Graph

303 Commits

Author SHA1 Message Date
Daria Mozhaeva
8dc3c9b239 Edit and translate. 2020-09-16 18:14:33 +04:00
alexey-milovidov
6828e9bbc7
Merge pull request #14851 from den-crane/patch-1
ext-dict-functions.md note that id_expr can be Tuple
2020-09-16 00:53:43 +03:00
alexey-milovidov
b8ae25c546
Merge pull request #14857 from vladimir-golovchenko/fix-connection-odbc-to-mssql-doc
Improved the description of connecting to MS SQL Server by ODBC.
2020-09-16 00:41:36 +03:00
Vladimir Golovchenko
21bc856d61 Improved the description of connecting to MS SQL Server by ODBC. 2020-09-15 11:26:57 -07:00
Denis Zhuravlev
c4a90a9bc9
Update ext-dict-functions.md 2020-09-15 11:15:30 -03:00
Denis Zhuravlev
11fb255155
Update ext-dict-functions.md 2020-09-15 11:11:34 -03:00
Evgenia Sudarikova
99b220c3ed
Merge branch 'master' into evgsudarikova-DOCSUP-2039 2020-09-15 17:06:42 +03:00
Vladimir Golovchenko
adbd240417 Added missed section S011 according to SQL:2011. 2020-09-14 12:45:51 -07:00
Vladimir Golovchenko
eb0c1714fe Extended section E081 according to SQL:2011. 2020-09-14 12:45:51 -07:00
Vladimir Golovchenko
14393a3329 Fixed the wrong version of SQL standard. 2020-09-14 12:45:09 -07:00
Ildus Kurbangaliev
67b49862d9
Add mapPopulateSeries function (#13166) 2020-09-14 19:11:50 +03:00
Evgeniia Sudarikova
6ba9c107df add EN changes 2020-09-12 20:34:08 +03:00
Artem Hnilov
726277adec
Update other-functions.md 2020-09-10 20:34:23 +03:00
Simon Podlipsky
97616f2982
Mention db requirement in dictionary functions 2020-09-09 13:33:34 +02:00
olgarev
de9f1f4c94
DOCSUP-924: Higher-order functions moved to Array functions (#14092)
* Higher-order functions description moved to Array functions (English).

* Bad anchor fixed.

* Update docs/en/sql-reference/functions/array-functions.md

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

* Higher-order functions description moved to Array functions (Russian).

* Update array-functions.md

Minor fixes in Russian text.

Co-authored-by: Olga Revyakina <revolg@yandex.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-09-08 18:55:00 +03:00
Anna
0a9f6b1805
DOCSUP-2193: Describe SHOW queries for RBAC (#14515)
* Documentation for #10387, upd syntax by issues #12311, #12312

* Update docs/ru/sql-reference/statements/show.md

Co-authored-by: Anna Devyatova <annadevyatova@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-09-08 10:35:24 +03:00
bharatnc
59edda2e94 add note in docs about codec for ALIAS column type 2020-08-31 00:47:22 -07:00
Amos Bird
078b14610d
ALTER MODIFY SAMPLE BY 2020-08-27 22:31:30 +08:00
alexey-milovidov
0f706c01ca
Merge pull request #13888 from vladimir-golovchenko/add-date-trunc-function
Added date_trunc function
2020-08-27 02:12:27 +03:00
vladimir golovchenko
962dd04ec0 Added documentation for date_trunc function. 2020-08-25 16:41:23 -07:00
Alexey Milovidov
e2721e95d8 Merge branch 'master' into hczhcz-patch-0819-2 2020-08-25 23:50:41 +03:00
Roman Bug
899f93356f
romanzhukov-DOCSUP-2192: Split ALTER to separate files (ru) (#13905)
* DOCSUP-2192: Split alter section to separete files.

* DOCSUP-2192: Test.

* DOCSUP-2192: Fixed cross links.

* DOCSUP-2192: Fix links.

* DOCSUP-2192: Fix links.

* DOCSUP-2192: Fix links.

* DOCSUP-2192: Added alter delete and alter update topics.

* DOCSUP-2192: Fix one layout mistake and update links.

* DOCSUP-2192: Added delete and update sections. Updated alter index.md

* DOCSUP-2192: Fix links.

Co-authored-by: romanzhukov <romanzhukov@yandex-team.ru>
2020-08-25 18:38:36 +03:00
Alexey Milovidov
846cdd70fc Merge branch 'patch-0819' of https://github.com/hczhcz/ClickHouse into hczhcz-patch-0819-2 2020-08-24 23:01:59 +03:00
Nikita Mikhaylov
e4fc48254a
Merge pull request #13818 from bharatnc/ncb/quantileExactLowHigh
add functions for quantileExactLow & quantileExactHigh
2020-08-24 23:51:30 +04:00
olgarev
97094a212a
DOCSUP-928: Doc groupArraySample function, updated and translated into Russian (#13979)
* Updated docs in English and docs in Russian.

* Updated docs in English and docs in Russian.

* Docs in Russian.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
2020-08-24 12:43:13 +03:00
Anton Popov
93d49e5815
Merge pull request #13237 from vdimir/string-locate-startpos-3776
Support start_pos argument in `position` function
2020-08-24 12:23:19 +03:00
bharatnc
da7fbfd1c6 doc fix {#quantileexactHigh} -> {#quantileexacthigh} 2020-08-23 10:09:41 -07:00
bharatnc
6782f5de1d add documentation for quatileExactLow & quantileExactHigh 2020-08-23 10:09:41 -07:00
hcz
be2ffe07ee Add docs and tests 2020-08-19 16:07:51 +08:00
olgarev
7a8b1f064b
DOCSUP-928: Documented the groupArraySample function (#13791)
* En docs for groupArraySample function.

* Bug fixed.

* Update docs/en/sql-reference/aggregate-functions/reference/grouparraysample.md

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-08-17 11:00:24 +03:00
alexey-milovidov
d341ec8c3d
Fix misleading, bad and wrong documentation. 2020-08-12 02:23:11 +03:00
alexey-milovidov
2ee6f1484c
Fix bad documentation (progress: 1%) 2020-08-12 02:22:00 +03:00
olgarev
6164e7373d
DOCSUP-791: Docs for optimize_read_in_order setting (#12611)
* Docs in English for optimize_read_in_order setting.

* Link misspelling fixed.

* Usage section moved to the ORDER BY topic.

* Link fixed.

* Update docs/en/sql-reference/statements/select/order-by.md

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

* Update docs/en/sql-reference/statements/select/order-by.md

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

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Update docs/en/sql-reference/statements/select/order-by.md

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

* Small fix in English and translation into Russian.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-08-10 16:33:39 +03:00
alexey-milovidov
7de9c2183a
Merge pull request #13517 from vladimir-golovchenko/fix-time-interval-for-create-alter-quota-queries
Fixed docs, document blocks and tests: added the missed types of interval (WEEK, MONTH, QUARTER, YEAR) to CREATE/ALTER QUOTA statements
2020-08-09 02:12:13 +03:00
vladimir golovchenko
84a8ad7da9 Fixed docs: added the missed types of interval (WEEK, MONTH, QUARTER, YEAR) to CREATE/ALTER QUOTA statements. 2020-08-08 01:16:56 -07:00
Alexander Millin
b7f08f447a
[docs] Fix system.md (#13332)
Co-authored-by: Alexander Millin <a.millin@city-mobil.ru>
2020-08-07 11:48:38 +03:00
alexey-milovidov
5df187783e
Fix data corruption @blinkov 2020-08-06 23:59:19 +03:00
Ivan Blinkov
4e08b60b5e
fix #13380 (#13381) 2020-08-05 16:06:31 +03:00
vdimir
32f26bcde7 Add start_pos argument for position to documentation, case insensitive tests 2020-08-02 13:29:10 +00:00
Alexey Milovidov
b7ec7be296 Update docs 2020-08-02 01:02:46 +03:00
Alexey Milovidov
2dc74a8a54 Update documentation 2020-08-02 00:47:10 +03:00
BayoNet
c1b71ab06e
DOCS-733: Fixed broken links in Russian version (#13106)
* CLICKHOUSEDOCS-733: Fixed some broken links. Updated introduction and TOC in aggregate functions.

* CLICKHOUSEDOCS-733: Fixed files endings.

* CLICKHOUSEDOCS-733: Returned the list of functions back to reference index.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: emironyuk <em@don.ru>
2020-07-30 15:49:19 +03:00
Ildus Kurbangaliev
fdf4fd337a
add mapAdd and mapSubtract functions (#11735) 2020-07-29 11:50:30 +03:00
olgarev
2aefe5fb77
DOCSUP-790: docs for mutations_sync setting (#12639)
* Docs in English.

* Fixed links bug.

* Update docs/en/sql-reference/statements/alter/delete.md

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

* Translated into Russian. Anchors in links syncronized with English text. One minor change in English text to unify two similar descriptions.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-07-29 09:43:24 +03:00
olgarev
e2287959a8
DOCSUP-1585: Edit and sync geo functions (#12584)
* Geo functions - en/ru sync.

* Fixed bug with levels.

* Apply suggestions from code review

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* Geo functions splitted into 3 files.

* Links fixed.

* Link fixed.

* Anchor fixed.

* Add into TOC.

* Temporarily removed anchors.

* Working on TOC.

* Links to original article.

* TOC and links in English and Russian.

* TOC in English, content in index.

* Link fixed.

* TOC in Russian, with content in index file.

* Added index file to geo functions

* fixed links in ru

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-07-28 10:57:28 +03:00
alexey-milovidov
795c09fdbb
Merge pull request #12662 from ildus/simple_aggr_for_minmap_maxmap
Add minMap and maxMap support to SimpleAggregateFunction
2020-07-28 00:03:34 +03:00
Ivan Blinkov
0a2cd20570
Update detach.md 2020-07-23 23:02:54 +03:00
Ivan Blinkov
720cd5ca69
Update system.md 2020-07-23 23:02:47 +03:00
Ivan Blinkov
3ea7d8e5cd
Update describe-table.md 2020-07-23 23:02:18 +03:00
Ivan Blinkov
26b7ea0ad9
Update check-table.md 2020-07-23 23:01:28 +03:00
Ivan Blinkov
2fe8b8c65e
Update attach.md 2020-07-23 23:01:14 +03:00
Ivan Blinkov
9a8836a542
Update drop.md 2020-07-23 16:06:50 +03:00
Ivan Blinkov
6e77ef1052
Update exists.md 2020-07-23 16:06:24 +03:00
Ivan Blinkov
d89325fb19
Update kill.md 2020-07-23 16:06:02 +03:00
Ivan Blinkov
ea592c93f8
Update optimize.md 2020-07-23 16:05:37 +03:00
Ivan Blinkov
94b4c504d4
Update rename.md 2020-07-23 16:05:07 +03:00
Ivan Blinkov
fb93a911a6
Update set.md 2020-07-23 16:04:52 +03:00
Ivan Blinkov
9d8a96ea1b
Update set-role.md 2020-07-23 16:04:34 +03:00
Ivan Blinkov
a7b0210638
Update truncate.md 2020-07-23 16:04:13 +03:00
Ivan Blinkov
46e1dbfbd6
Update use.md 2020-07-23 16:03:56 +03:00
BayoNet
6999a757e3
DOCS-652: randomFixedString (#12712)
* DOCSUP-1249 fixedRandomString description was added (#137)

* fixedRandomString description was added

* 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>

* I added the information about symbols class.

* Ive translated function description to Russian.

* Fixes.

* Type of the result added.

* Type of the result added in two languages.

* Fixes.

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

* CLICKHOUSEDOCS-652: Fixed text.

Co-authored-by: AnaUvarova <64017504+AnaUvarova@users.noreply.github.com>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-07-23 15:19:14 +03:00
alexey-milovidov
456bf4461b
Merge branch 'master' into br1 2020-07-23 13:26:41 +03:00
Ildus Kurbangaliev
0d82c02710 add minMap and maxMap support to SimpleAggregateFunction 2020-07-22 12:21:10 +02:00
Dmitrii Raev
2a575fd5c8
Update external-dicts-dict-lifetime.md (#12657)
duplicated line
2020-07-22 11:26:04 +03:00
Denis Zhuravlev
813f5d3265
Doc. Update drop.md (#12644)
* Update drop.md

DROP VIEW added

* Update drop.md

* Update drop.md

* Update docs/en/sql-reference/statements/drop.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-07-21 22:24:08 +03:00
Denis Zhuravlev
ae8c6e57c1
Doc change. Update view.md (#12643)
* Update view.md

OR REPLACE / ON CLUSTER

* Update docs/en/sql-reference/statements/create/view.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-07-21 22:22:33 +03:00
BayoNet
52f95e53fb
DOCS-229: insert_distributed_sync (#12579)
* Revolg docsup 727 insert distributed sync setting (#130)

* Add insert_distributed_sync setting

* insert_distributed_sync en doc upd

* Translated to russian.

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

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

* Added the link to the setting in the russian version.

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

* Update settings.md

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

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>
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-07-21 15:40:03 +03:00
alexey-milovidov
8a23874a90
Update other-functions.md 2020-07-21 14:28:46 +03:00
Sergei Shtykov
d472c9b5e3 Merge branch 'master' of github.com:ClickHouse/ClickHouse into docs/CLICKHOUSEDOCS-654-randomStringUTF8 2020-07-21 13:14:34 +03:00
AnaUvarova
0d0ce4b760
I described function randomStringUTF8 (#146)
* I described function randomStringUTF8

* 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>

* Ive edited en-version and translated function description to Russian.

Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-07-21 13:08:11 +03:00
Sergei Shtykov
08734b0cf7 Merge branch 'master' of github.com:ClickHouse/ClickHouse into docs/CLICKHOUSEDOCS-642-extractAllGroups 2020-07-19 12:37:19 +03:00
Evgenia Sudarikova
b9174ffa5a
DOCSUP-1110: document the extractAllGroups function (#138)
* add EN description

* changes in EN version after review

* add RU version
2020-07-19 12:33:50 +03:00
Artem Zuikov
ff372ec0f0
Standard join type syntax position (#12520) 2020-07-16 11:56:45 +03:00
Ivan Blinkov
ffe2cecb1b
[docs] split the ALTER article (#12502)
* initial split

* initial adjust links

* make en buildable

* re-normalize
2020-07-15 00:02:41 +03:00
feng lv
767bc7a905 add doc
fix test

fix

name style fix
2020-07-14 18:50:51 +08:00
Eugene Klimov
2a3292cf00
add ORDER BY ... WITH FILL, LIMIT... WITH TIES documentation to RU and EN locale (#12410)
* add ORDER BY ... WITH FILL documentation to RU and EN locale

Signed-off-by: Slach <bloodjazman@gmail.com>

* Update docs/en/sql-reference/statements/select/limit.md

* Update docs/en/sql-reference/statements/select/limit.md

* Update docs/ru/sql-reference/statements/select/order-by.md

* Update docs/en/sql-reference/statements/select/limit.md

* Update docs/en/sql-reference/statements/select/order-by.md

* Update docs/en/sql-reference/statements/select/order-by.md

* Update docs/en/sql-reference/statements/select/order-by.md

* Update docs/en/sql-reference/statements/select/order-by.md

* Update docs/en/sql-reference/statements/select/order-by.md

* Update docs/ru/sql-reference/statements/select/limit.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-07-14 00:52:40 +03:00
alexey-milovidov
48c91881a0
Remove strange visible backslashes 2020-07-13 17:58:37 +03:00
Ivan Blinkov
ceac649c01
[docs] split misc statements (#12403) 2020-07-11 14:05:49 +03:00
Ivan Blinkov
258d2fd499
[docs] split various kinds of CREATE queries into separate articles (#12328)
* normalize

* split & adjust links

* re-normalize

* adjust ru links

* adjust ja/tr links

* partially apply e0d19d2aea

* reset contribs
2020-07-09 18:10:35 +03:00
Ivan Blinkov
e0d19d2aea
[docs] engine family introduction refactoring (#12268)
* base refactoring

* adjust links

* Update index.md
2020-07-09 15:11:15 +03:00
BayoNet
2eb6f1d0c1
DOCS-679: netloc function (#12321)
* DOCSUP-1377 (netloc function) (#135)

* add EN description

* changes in query

* changes after review

* add RU description

* CLICKHOUSEDOCS-679: Text fixes.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: emironyuk <em@don.ru>
Co-authored-by: Evgenia Sudarikova <56156889+otrazhenia@users.noreply.github.com>
2020-07-09 11:50:53 +03:00
Ivan Blinkov
9c829e3046
[docs] add intrdocution for statements page (#12189)
* [docs] add intrdocution for statements page

* Update index.md
2020-07-07 20:18:38 +03:00
Ivan Blinkov
eefb498517
[docs] refactor Domains overview (#12186) 2020-07-07 17:45:04 +03:00
BayoNet
ff45051231
DOCS-647: toStartOfSecond (#12190)
* DOCSUP-1120 Documentation for the toStartOfSecond function (#131)

* Doc toStartOfSecond function

* Update docs/en/sql-reference/functions/date-time-functions.md

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

* Update docs/en/sql-reference/functions/date-time-functions.md

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

* Minor update for english text, russian translation added.

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

* CLICKHOUSEDOCS-647: Minor text edits.

* Update docs/en/sql-reference/functions/date-time-functions.md

* Update docs/en/sql-reference/functions/date-time-functions.md

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>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-07-07 17:25:44 +03:00
BayoNet
d5c3cadcfc
DOCSUP-1348 Russian translation for new functions (#133) (#12194)
* Russian translation for new functions

* Apply suggestions from code review

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

* Minor updates to russian text.

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

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
2020-07-07 14:53:27 +03:00
Eugene Klimov
a0661953a6
add cluster() adn clusterAllReplicas() table functions description, add signatures to remoteSecure() table function (#12156)
* add cluster() adn clusterAllReplicas() table functions description, add signatures to remoteSecure() table function

Signed-off-by: Slach <bloodjazman@gmail.com>

* small russian fixes

Signed-off-by: Slach <bloodjazman@gmail.com>

* Update docs/en/sql-reference/table-functions/cluster.md

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

* Update docs/en/sql-reference/table-functions/cluster.md

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

* Update docs/en/sql-reference/table-functions/cluster.md

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

* Update docs/en/sql-reference/table-functions/cluster.md

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

* Update docs/en/sql-reference/table-functions/cluster.md

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

* Update docs/en/sql-reference/table-functions/cluster.md

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

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-07-06 17:46:53 +03:00
flynn
5816858403
add parseDateTimeBestEffortUS function (#12028)
* add function parseDateTimeBestEffortUS
* add test
* add doc

Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-07-05 21:09:20 +03:00
BayoNet
41fed28403
DOCS-510: runningAccumulate (#12061)
* asiana21-DOCSUP-797 (#117)

* docs(runningAccumulate): the function description is added

* docs(runningAccumulate): the function description is modified

* 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>

* 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>

* 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>

* Update docs/en/sql-reference/functions/other-functions.md

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

* docs(runningAccumulate): 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>

* Update docs/en/sql-reference/functions/other-functions.md

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

* docs(runningAccumulate): added ru translation

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

* CLICKHOUSEDOCS-510: Minor fix.

* Update docs/en/sql-reference/functions/other-functions.md

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

* CLICKHOUSEDOCS-510: Fixed links.

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-07-01 16:36:41 +03:00
BayoNet
a798ae00f7
DOCS-636 Synchronized some edits from EN to RU (#11941)
* [review][clickhousedocs][translate] DOCSUP-1351: Edit and translate to Russian (#129)

* DOCSUP-1351: Add blockSerializedSize (RU)

* DOCSUP-1351: Fix blockSerializedSize description by function description template.

* DOCSUP-1351: PR8756- Update Distributed engine section.

* DOCSUP-1351: PR9076-Show Queries more like MySQL did.

* DOCSUP-1351: PR#9919-system.tables improvements (total_rows/total_bytes/storage_policy)

* DOCSUP-1351: (ru) blockSerializedSize remake by template.

* DOCSUP-1351: PR#9598-Add function arrayReduceInRange and update arrayReduce function.

* DOCSUP-1351: PR#9598 Fix arrayReduce and arrayReduceInRanges sections by template.

* DOCSUP-1351: Some fixes.

* DOCSUP-1351: Some fixes.

Co-authored-by: romanzhukov <romanzhukov@yandex-team.ru>

* CLICKHOUSEDOCS-636: Minor changes.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Roman Bug <rrrrrroman@gmail.com>
Co-authored-by: romanzhukov <romanzhukov@yandex-team.ru>
2020-06-29 12:48:18 +03:00
Nikita Mikhaylov
f90dfa3ef4 Merge branch 'master' of github.com:ClickHouse/ClickHouse into merging-ssh-cache 2020-06-26 13:56:21 +03:00
Nikita Mikhaylov
e55577ba65 Merge branch 'nikvas0/ssd_dict' of git://github.com/nikvas0/ClickHouse into merging-ssh-cache 2020-06-24 16:45:18 +03:00
Eugene Klimov
b508f7b77b
update SELECT description (#11907)
Signed-off-by: Slach <bloodjazman@gmail.com>
2020-06-24 15:58:31 +03:00
tavplubix
2401bc9143
Merge pull request #11896 from ClickHouse/merging_drop_replica
Merging #10679
2020-06-24 11:42:39 +03:00
Alexander Tokmakov
7b5de16da9 minor improvements 2020-06-23 22:15:01 +03:00
Alexander Kazakov
0510911559
Merge pull request #11071 (#11874)
* Add's hasSubstr  array function

* Add's example in the english doc of hasSubStr

* Updates conditions to avoid prematurely calling isEqual

* Remove feathericons

Authored-by: Ryad ZENINE <ryad.zenine@contentsquare.com>
2020-06-23 17:42:19 +03:00
Alexander Kuzmenkov
442b78db5b
Merge pull request #11865 from ClickHouse/aku/sum-with-overflow
Support sumWithOverflow as SimpleAggregateFunction
2020-06-23 09:12:39 +03:00
amudong
7723dc4935 add drop relica database and the whole replica
fix removeReplicaByZKPath

fix bug: add zkpath empty judge

fix: rewrite code

delete useless code.

fix:ast fromat

fix bug

add test_drop_replica

add drop_replica doc

add drop databse checkAccess

refactor dropReplica

update tests

add static method StorageReplicatedMergeTree::dropReplicaByZkPath

update doc and delete useless code

fix conflict

fix doc

fix doc

fix StorageReplicatedMergeTree::dropReplica

fix bug

delete useless code
2020-06-23 12:12:30 +08:00
amudong
2e6a3eff8e fix: can not drop local table and replace ALTER with SYSTEM
fix test_drop_replica

fix drop replica '/path/to/zk/' ending in '/' and update doc
2020-06-23 12:12:30 +08:00
sundy-li
15ad830290 only drop inactive replica
update doc

Increase timeout to release the zookeeper Ephemeral nodes

Fix code comment

use PartitionManager

make integrations test passed
2020-06-23 12:12:30 +08:00
sundy-li
34df59baf8 Add tests and docs
Fix integration-tests
2020-06-23 12:12:30 +08:00
Alexander Kuzmenkov
a257ce63a8 Support sumWithOverflow as SimpleAggregateFunction 2020-06-22 17:32:52 +03:00
Ivan Blinkov
652882ef4e [docs] reorganized F.A.Q. 2020-06-22 16:35:41 +03:00
alexey-milovidov
32c7ff7d2c
Update create.md 2020-06-20 10:33:41 +03:00
alexey-milovidov
8139ce5985
Update create.md 2020-06-20 10:32:33 +03:00
Ivan Blinkov
930b5852fa
Update in-functions.md 2020-06-19 13:21:51 +03:00
Ivan Blinkov
d3524e3c96
Update geo.md 2020-06-19 13:21:39 +03:00
Ivan Blinkov
05aa835a74
Update functions-for-nulls.md 2020-06-19 13:21:15 +03:00
Ivan Blinkov
bc2e84c7fb
Update machine-learning-functions.md 2020-06-19 13:20:23 +03:00
Ivan Blinkov
d2624d4543
Update ym-dict-functions.md 2020-06-19 13:18:21 +03:00
Ivan Blinkov
b353ce8442
Update ext-dict-functions.md 2020-06-19 13:17:00 +03:00
Ivan Blinkov
87bd70840a
Update json-functions.md 2020-06-19 13:16:30 +03:00
Ivan Blinkov
a6eeedca25
Update ip-address-functions.md 2020-06-19 13:16:08 +03:00
Ivan Blinkov
fa0e2461e7
Update url-functions.md 2020-06-19 13:15:32 +03:00
Ivan Blinkov
8b98553235
Update uuid-functions.md 2020-06-19 13:14:58 +03:00
Ivan Blinkov
b3dc44be34
Update random-functions.md 2020-06-19 13:13:13 +03:00
Ivan Blinkov
117690c70c
Update random-functions.md 2020-06-19 13:12:59 +03:00
Ivan Blinkov
36453337dd
Update array-functions.md 2020-06-19 13:11:29 +03:00
Ivan Blinkov
70034b6232
Update string-replace-functions.md 2020-06-19 13:10:51 +03:00
Ivan Blinkov
cd0e49e9c9
Update string-search-functions.md 2020-06-19 13:10:23 +03:00
Ivan Blinkov
967235edab
Update string-functions.md 2020-06-19 13:09:45 +03:00
Ivan Blinkov
f856e2576c
Update string-search-functions.md 2020-06-19 13:08:10 +03:00
Ivan Blinkov
a620d597a3
Update string-search-functions.md 2020-06-19 13:05:38 +03:00
Ivan Blinkov
6274506cff
Update string-functions.md 2020-06-19 13:05:00 +03:00
Ivan Blinkov
53c1cb9848
Update date-time-functions.md 2020-06-19 13:04:32 +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
Ivan Blinkov
7170f3c534
[docs] split aggregate function and system table references (#11742)
* prefer relative links from root

* wip

* split aggregate function reference

* split system tables
2020-06-18 11:24:31 +03:00
Nikita Mikhaylov
ab04a6bb62
Merge pull request #11615 from azat/SYSTEM-FLUSH-LOGS-force-table-creation-v2
Force table creation on SYSTEM FLUSH LOGS (v2)
2020-06-17 11:09:19 +04:00
Alexander Kuzmenkov
9cab822718
Merge pull request #11683 from ClickHouse/aku/merge-minmap-11603
Merge minMap, maxMap (#11603)
2020-06-17 00:02:33 +03:00
Ivan Blinkov
9a26d48ad0
Basic blog similar to docs (#11609)
* Basic blog similar to docs

* rename post

* no post content in post_meta

* update readme and template

* more "en" content

* complete "en" content

* build blog redirects

* redirects for migration

* link sitemaps

* update po

* add "ru" content

* ru redirects

* remove old domain mentions

* adjust styles

* content improvements

* +1 alt

* use main images from CDN

* use re-hosted in-content images

* extra vertical margin around embedded youtube

* minor improvements

* adjust post page

* adjust html meta

* adjust post page

* improve blog rendering
2020-06-16 09:31:00 +03:00
BayoNet
f0eafed520
DOCS-678: Updated ASOF Join description (#11676)
* CLICKHOUSEDOCS-678: Updated ASOF Join Usage.

* CLICKHOUSEDOCS-678: Updated templates.

* Update docs/ru/sql-reference/statements/select/join.md

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

* CLICKHOUSEDOCS-678: Update by comments.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: emironyuk <em@don.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-15 21:55:04 +03:00
BayoNet
1474dd6d69
DOCS-646: randomString (#11610)
* [CLICKHOUSEDOCS] Document the "randomString" function (#121)

* Add description of randomString function

* Add description for randomString

* 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>

* Changed example

* Add russian version

* Fixed links

* Fixed links

Co-authored-by: Anna Devyatova <annadevyatova@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* CLICKHOUSEDOCS-646: Updated text. Fixed links.

* CLICKHOUSEDOCS-646: Fixed more links.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
Co-authored-by: Anna Devyatova <annadevyatova@yandex-team.ru>
2020-06-15 21:44:05 +03:00
Alexander Kuzmenkov
6af27d6c32
Update simpleaggregatefunction.md 2020-06-15 18:22:11 +03:00
Ildus Kurbangaliev
01d903c60d add minMap and maxMap functions 2020-06-13 08:49:00 +00:00
zzsmdfj
a2ed8d70a7
update zh-docs-aggregate-functions (#11623) 2020-06-12 14:03:01 +03:00
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
Ivan Blinkov
cbc08bc393
Update index.md 2020-06-11 01:23:04 +03:00
Ivan Blinkov
6fa6439c69
fix link 2020-06-11 00:57:53 +03:00
Ivan Blinkov
f433ffaec6
Update index.md 2020-06-10 23:49:37 +03:00
Ivan Blinkov
b5b3cb1c05
Update index.md 2020-06-10 23:48:54 +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
5f5f10b48a
greatCircleAngle en translation (#11584)
* greatCircleAngle en translation

* Update geo.md

* Update geo.md
2020-06-10 21:59:17 +03:00
Alexander Tokmakov
6bb68329f8 Merge branch 'master' into merging_external_source_cassandra 2020-06-09 19:51:14 +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
zzsmdfj
174b687a44
update zh-docs-functions (#11464) 2020-06-08 08:29:08 +03:00
Alexander Tokmakov
e67837bc4a cleenup 2020-06-04 00:11:17 +03:00
Alexander Tokmakov
e3aa20708a Merge branch 'master' into merging_external_source_cassandra 2020-06-03 14:55:02 +03:00
Alexander Kuzmenkov
bd84c3be18
Merge branch 'master' into fuzz_data 2020-06-02 12:49:43 +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
Alexander Tokmakov
8921041706 Merge branch 'master' into merging_external_source_cassandra 2020-05-29 18:20:39 +03:00
Andrei Nekrashevich
af469c0da5 fix issues 2020-05-29 05:06:21 +03:00