Commit Graph

4428 Commits

Author SHA1 Message Date
feng lv
4d722bc52c fix conflict 2020-11-02 12:52:12 +00:00
myrrc
21818fd7e7 Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-02 15:35:36 +03:00
alesapin
7a92960a11
Merge pull request #16583 from den-crane/Doc/multiple_leaders
Doc/multiple leaders
2020-11-02 10:57:20 +03:00
dependabot-preview[bot]
af76657855
Bump tornado from 5.1.1 to 6.1 in /docs/tools
Bumps [tornado](https://github.com/tornadoweb/tornado) from 5.1.1 to 6.1.
- [Release notes](https://github.com/tornadoweb/tornado/releases)
- [Changelog](https://github.com/tornadoweb/tornado/blob/master/docs/releases.rst)
- [Commits](https://github.com/tornadoweb/tornado/compare/v5.1.1...v6.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 06:10:24 +00:00
Denny Crane
de3f88c3fd
Update architecture.md 2020-11-01 12:17:17 -04:00
Denis Zhuravlev
4adef402e6 Doc/multiple_leaders 2020-11-01 12:14:25 -04:00
annvsh
13c49c723f Added TSV format settings 2020-11-01 22:25:58 +07:00
Dmitriy
08e523d5de Update settings.md
Добавил описание настройки max_concurrent_queries_for_all_users.
2020-11-01 17:58:37 +03:00
annvsh
0f78dbc31d Init commit 2020-11-01 21:41:10 +07:00
Anna Shakhova
90dcc135b4
DOCSUP-3199: Support default arguments for Replicated engine (#16282)
* Init commit

* Fixed

* Fixed

* Fixed
2020-10-31 23:26:14 +03:00
Jacob Hayes
c9ad4e8d96 Add farmFingerprint64 docs 2020-10-31 09:04:18 -04:00
myrrc
06ae95a10a fixing nan values for functions 2020-10-30 21:08:33 +03:00
ana-uvarova
1b60d1156c MICRO back 2020-10-30 21:06:29 +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
myrrc
7d6f48263e Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-10-30 20:17:54 +03:00
myrrc
b3379e9cf0 fixed some wrong tests, updated docs 2020-10-30 19:17:57 +03:00
myrrc
9ca35c0b44 Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-10-30 17:22:24 +03:00
filimonov
f52d0919f0
Update date-time-functions.md 2020-10-30 10:31:05 +01:00
Olga Revyakina
98f701dbfc Docs in English 2020-10-30 04:09:42 +03:00
ana-uvarova
70e6136246 Russian 2020-10-29 21:56:00 +03:00
Ekaterina
19794bee07
DOCSUP-2966: Update the INSERT INTO statement (#16404)
* Revert "Update version_date.tsv after release 20.7.4.11"

This reverts commit 9aff247afe.

* Added translation for feature.

* Fixed.

* Fixed.

* Fixed.

* Update docs/en/sql-reference/statements/insert-into.md

* Update docs/en/sql-reference/statements/insert-into.md

* Update docs/en/sql-reference/statements/insert-into.md

* Update docs/en/sql-reference/statements/insert-into.md

* Update docs/en/sql-reference/statements/insert-into.md

* Update docs/en/sql-reference/statements/insert-into.md

* Update docs/ru/sql-reference/statements/insert-into.md

* Update docs/ru/sql-reference/statements/insert-into.md

* Update docs/ru/sql-reference/statements/insert-into.md

* Update version_date.tsv

Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-10-29 21:27:37 +03:00
Anna
0f92fe9ad2
DOCSUP-3118: Document the named subqueries WITH AS (#16339)
* Update WITH desc

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

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

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

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

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

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

* Fixed, ru translated

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

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

* Fixed syntax description

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

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

* Update

Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-10-29 21:22:28 +03:00
ana-uvarova
3bded85c4f Details 2020-10-29 15:43:18 +03:00
Azat Khuzhin
a81b0418ac Make errorCodeToName() return LowCardinality(String) 2020-10-29 10:55:41 +03:00
Azat Khuzhin
b2e2322895 Add system.errors table
Contains error codes with number of times they have been triggered.

Columns:

-   `name` ([String](../../sql-reference/data-types/string.md)) — name of the error (`errorCodeToName`).
-   `code` ([Int32](../../sql-reference/data-types/int-uint.md)) — code number of the error.
-   `value` ([UInt64](../../sql-reference/data-types/int-uint.md)) - number of times this error has been happened.

**Example**

``` sql
SELECT *
FROM system.errors
WHERE value > 0
ORDER BY code ASC
LIMIT 1

┌─name─────────────┬─code─┬─value─┐
│ CANNOT_OPEN_FILE │   76 │     1 │
└──────────────────┴──────┴───────┘
2020-10-29 10:55:38 +03:00
Azat Khuzhin
3fb8d08dd4 Add errorCodeToName() function
This patch adds errorCode() function that will return macro name by the
exception code, useful for analyzing query_log and similar.

Later some descriptions can be added.

v2: replace hana::map/fusion::vector with external script
v3:
- use binary cmake dir for .sh
- use jump table over suboptimal std::unordered_map (with very poor hash
  function for int -- std::hash)
- cleanup errorCodeToName (drop extra templates and headers)
- rename errorCode -> errorCodeToName
- fix arcadia build (by not providing those helpers there)
- fix build on CI, by using CMAKE_CXX_COMPILER for parsing the file
2020-10-29 10:55:00 +03:00
alesapin
57c3935a26
Merge pull request #16426 from kssenii/rabbit-optimize
Optimize rabbitmq engine
2020-10-28 22:24:22 +03:00
filimonov
2d28d97233
Update other-functions.md 2020-10-28 15:13:27 +01:00
alesapin
617e42ddb4
Merge branch 'master' into rabbit-optimize 2020-10-28 10:24:05 +03:00
kssenii
4b59882c30 Remove redundant, add virt col 2020-10-27 20:34:31 +00:00
Alexander Kuzmenkov
6509f1eb39
Merge branch 'master' into minumum 2020-10-27 21:38:23 +03:00
Mikhail Filimonov
41971e073a
Fix typos reported by codespell 2020-10-27 12:04:03 +01:00
kssenii
db03cd7dd7 Much more optimal queues setup 2020-10-27 11:00:01 +00:00
ana-uvarova
ce016ba8c9 Draft 2020-10-27 10:22:14 +03:00
Alexander Kuzmenkov
5a70e26c70 Merge remote-tracking branch 'origin/master' into HEAD 2020-10-26 19:21:13 +03:00
myrrc
4d11bd036b Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-10-26 17:42:47 +03:00
Anton Popov
5fbca7d62d
Merge pull request #16337 from kitaisreal/uuid-safe-cast-functions-added
UUID safe cast functions added
2020-10-26 16:03:27 +03:00
Anton Popov
bd17843bdb
Update uuid-functions.md 2020-10-26 16:00:49 +03:00
feng lv
9b95ed9ead fix 2020-10-26 12:21:04 +00:00
Roman Bug
9ec78855cd
DOCSUP-2806: Add meta header in RU (#15801)
* DOCSUP-2806: Add meta intro.

* DOCSUP-2806: Update meta intro.

* DOCSUP-2806: Fix meta.

* DOCSUP-2806: Add quotes for meta headers.

* DOCSUP-2806: Remove quotes from meta headers.

* DOCSUP-2806: Add meta headers.

* DOCSUP-2806: Fix quotes in meta headers.

* DOCSUP-2806: Update meta headers.

* DOCSUP-2806: Fix link to nowhere in EN.

* DOCSUP-2806: Fix link (settings to tune)

* DOCSUP-2806: Fix links.

* DOCSUP-2806:Fix links EN

* DOCSUP-2806: Fix build errors.

* DOCSUP-2806: Fix meta intro.

* DOCSUP-2806: Fix toc_priority in examples datasets TOC.

* DOCSUP-2806: Fix items order in toc.

* DOCSUP-2806: Fix order in toc.

* DOCSUP-2806: Fix toc order.

* DOCSUP-2806: Fix order in toc.

* DOCSUP-2806: Fix toc index in create

* DOCSUP-2806: Fix toc order in create.

Co-authored-by: romanzhukov <romanzhukov@yandex-team.ru>
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-10-26 13:29:30 +03:00
sevirov
8f03e526a4
DOCSUP-3200: Edit and translate to Russian (#16204)
* Edit and translate

Отредактировал английскую версию текстов документов и перевел изменения на русский язык.

* Update trace_log.md

Исправляю битые ссылки.

* Fixing broken links

Исправил битые ссылки.

* Fixing broken links

Поправил битую ссылку, добавив раздел в русскую версию.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-10-26 13:09:41 +03:00
feng lv
a9e4c7144c fix 2020-10-26 09:33:34 +00:00
Robert Hodges
f491903d41
Update cloud.md
Adding description of Altinity.Cloud to cloud platforms.
2020-10-25 22:23:54 -07:00
Alexey Milovidov
18458f36e7 Fix trash 2020-10-26 08:20:37 +03:00
alexey-milovidov
fb8a48aab8
Merge pull request #16241 from olgarev/revolg-DOCSUP-2472-Docs_for_the_crash_log_system_table
DOCSUP-2472: Documented the crash_log system table
2020-10-26 07:27:39 +03:00
myrrc
d8370116c1 simplified the functions (agreement to cast to Float64) 2020-10-25 23:33:01 +03:00
Maksim Kita
440ae2bc57 UUID safe cast functions added
1. Added readUUIDTextImpl, readUUIDText, tryReadUUIDText functions in
ReadHelpers.
2. Added toUUIDOrNull, toUUIDOrZero functions based on ReadHelpers read
implementations.
3. Updated documentation.
2020-10-25 11:45:29 +03:00
Olga Revyakina
300f07bdba Links fixed. 2020-10-25 05:58:39 +03:00
Olga Revyakina
98f073a3a5 Text updated ant translated to Russian 2020-10-25 05:38:54 +03:00
feng lv
5c192df20f update documents 2020-10-24 15:40:10 +00:00
alexey-milovidov
d3294fe8dd
Merge pull request #15849 from olgarev/revolg-DOCS-engine-template
Database or Table Engine description template update
2020-10-24 07:52:28 +03:00
alexey-milovidov
d350d864e6
Merge pull request #16297 from alex-karo/patch-2
Fix broken link in replication docs
2020-10-24 01:20:26 +03:00
sevirov
b8e754d68f
DOCSUP-3121: Update the SHOW DATABASES and SHOW TABLES descriptions (#16115)
* Update show.md

Update descriptions of show databases and show tables.

* Update show.md

Update 'identical query'.

* Update show.md

Внес поправки согласно комментариям.

* Update show.md

Внес поправки и перевел на русский язык.

* Update show.md

Внес мелкие поправки.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-10-23 18:11:02 +03:00
Aleksandr Karo
ba0513b031
Fix broken link in replication docs 2020-10-23 17:49:56 +03:00
Alexander Kuzmenkov
69b16fc8ef
Update tests.md 2020-10-23 17:39:09 +03:00
alexey-milovidov
0b002f393f
Merge pull request #16275 from ucasFL/docs
fix small document error
2020-10-23 09:19:20 +03:00
alexey-milovidov
40f6748880
Update adopters.md 2020-10-23 08:59:57 +03:00
feng lv
1a562ee329 fix small document error 2020-10-23 02:32:42 +00:00
Alexander Kuzmenkov
40c828b19d try to fix weird docs error 2020-10-22 20:35:02 +03:00
Alexander Kuzmenkov
5cbf645de4 Merge remote-tracking branch 'origin/master' into tmp 2020-10-22 19:48:02 +03:00
Alexander Kuzmenkov
145e2b012f cleanup 2020-10-22 19:47:20 +03:00
myrrc
3d479cdd8c added resul type deduction structs 2020-10-22 18:47:21 +03:00
myrrc
338ecb6fe1 possibly added the numerator/denominator determination algorithm in
avgWeighted
2020-10-22 17:29:32 +03:00
Olga Revyakina
545d187ef7 Docs for the crash_log table (en) 2020-10-21 19:32:52 +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
alexey-milovidov
8998829f66
Merge pull request #15685 from vivarum/enable-parsing-of-input-enum-values-by-id-10682
Enable parsing enum values by their ids for CSV, TSV and JSON input formats
2020-10-20 22:52:57 +03:00
alexey-milovidov
d8dff708dd
Merge pull request #16186 from antarctictardigrade/patch-4
Update: added query_start_time_microseconds.
2020-10-20 22:12:44 +03:00
alexey-milovidov
195526c033
Merge pull request #16187 from antarctictardigrade/patch-5
Update: added query_start_time_microseconds.
2020-10-20 22:11:57 +03:00
Ekaterina
2e3a9e31e8
Update: added query_start_time_microseconds.
Added query_start_time_microseconds.
2020-10-20 14:31:42 +03:00
Ekaterina
2bafc5443a
Update: added query_start_time_microseconds.
Added query_start_time_microseconds.
2020-10-20 14:31:28 +03:00
dependabot-preview[bot]
c4d2aa3e07
Bump markdown from 3.2.1 to 3.3.2 in /docs/tools
Bumps [markdown](https://github.com/Python-Markdown/markdown) from 3.2.1 to 3.3.2.
- [Release notes](https://github.com/Python-Markdown/markdown/releases)
- [Commits](https://github.com/Python-Markdown/markdown/compare/3.2.1...3.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-20 06:12:16 +00:00
alexey-milovidov
9a9ad20c6d
Update adopters.md 2020-10-20 04:38:36 +03:00
Alexander Kuzmenkov
6dcfd26b29 Merge remote-tracking branch 'origin/master' into tmp 2020-10-19 21:36:30 +03:00
sevirov
e12f69cb59
DOCSUP-3478: Documented the iLike function (#15880)
* Description of the iLike function

Добавил описание функции iLike и добавил оператор ILIKE.

* Update string-search-functions.md

Changed by comments.

* Update and translation ilike function and ILIKE operator..

Внес поправки в английскую версию и сделал перевод на русский язык.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-10-19 18:32:09 +03:00
sevirov
0a764bed54
DOCSUP-2954: Documented the view function (#15881)
* Create view.md

Создал файл view.md и сделал описание функции view.

* Update view.md

I made changes.

* Update view.md

Changed parametrs.

* Update view.md

Changed by comments.

* Create view.md

Перевел на русский язык.

* Update ru and en file view.md

Changed by comments.

* Update en and ru versions view function.

Changed links.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-10-19 18:26:11 +03:00
myrrc
30d477bc10 added create() function fo avgWeighted 2020-10-19 18:23:35 +03:00
Anna
d7014316b2
DOCSUP-2861: Translate on Russian (#16042)
* Translate on Russian

* Update docs/ru/sql-reference/statements/create/table.md

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

* Update docs/ru/sql-reference/statements/create/table.md

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

* Update docs/ru/sql-reference/statements/create/table.md

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

Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-10-19 18:22:38 +03:00
alexey-milovidov
691bd829a6
Merge pull request #16113 from den-crane/patch-5
Doc. Fix insert_quorum_timeout russian description.
2020-10-18 18:59:27 +03:00
Denny Crane
6d87dab263
Update settings.md 2020-10-17 16:10:16 -03:00
Denny Crane
bb8e6af832
Update replication.md
database and table macros
2020-10-17 15:55:39 -03:00
Denny Crane
3173e4e66f
Update replication.md 2020-10-17 15:44:04 -03:00
Denny Crane
b64024767a
Update replication.md
table and database macroses
2020-10-17 15:43:04 -03:00
Denny Crane
395f687e2c
Update settings.md
fix link from macros to replicated tables section
2020-10-17 15:04:19 -03:00
Azat Khuzhin
9b8abd44ab Add allow_nondeterministic_optimize_skip_unused_shards 2020-10-17 01:07:02 +03:00
myrrc
da8e3225c5 Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-10-16 21:18:50 +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
2478d9a927
Documented the bayesAB function (ru) (#15993)
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
2020-10-15 20:38:55 +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
olgarev
ab464350df
Docs for the mechanics of custom settings specifying (russian) (#15600)
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
2020-10-15 20:27:17 +03:00
Anna
ac438bc5bd
DOCSUP-2965: Add translate for map functions (#15744)
* Add translate for map func

* Edit English text

* Made ru description match the template

* Fixed links, updated wording

* Fixed links

* Update
2020-10-15 17:53:11 +03:00
alexey-milovidov
beaabbdd64
Update adopters.md 2020-10-15 17:46:45 +03:00
alexey-milovidov
ac8f5fc643
Update adopters.md 2020-10-15 17:46:23 +03:00
Alexander Kuzmenkov
bc7b5f6bb4 Merge remote-tracking branch 'origin/master' into tmp 2020-10-15 17:15:05 +03:00
Vitaly Baranov
5f261cec3c
Merge pull request #15199 from filimonov/non_delimited_protobuf
ProtobufSingle format
2020-10-15 16:58:39 +03:00
Alexander Kuzmenkov
b4378b004f Merge remote-tracking branch 'origin/master' into tmp 2020-10-15 16:01:41 +03:00
Nikolai Kochetov
963ce315b2
Merge pull request #15454 from azat/dict-prealloc
Speedup hashed/sparse_hashed dictionary loading by preallocating the hash table
2020-10-15 15:03:53 +03:00
myrrc
8e7e232387 wip dealing with template magic 2020-10-15 13:36:00 +03:00
alexey-milovidov
1d309c34c8
Merge pull request #15497 from filipecaixeta/master
Add an SQL function formatReadableTimeDelta to format time delta
2020-10-14 22:36:57 +03:00
Vitaly Baranov
997570780d
Merge branch 'master' into non_delimited_protobuf 2020-10-14 16:26:57 +03:00
Anna
580ecf4a66
DOCSUP-2964: Document the new format LineAsString (#15766)
* Add desc of format LineAsString

* Add example, translate to russian

* Update

* Fixed links

* Fixed links, updated the wording
2020-10-14 15:44:58 +03:00
Alexey Milovidov
87fe8f2a00 Merge branch 'master' into filipecaixeta-master 2020-10-14 15:27:58 +03:00
AnaUvarova
b1cdcf2d31
DOCSUP-2018-formatDateTime_description_update: added two modificators into the table of supported modificators (#15614)
* Added two modificators into the table of supported modificators

* Clarified description of added modifiers and started to add info according to the template of function description

* fixed link

* fix link again

* edits

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

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

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

* comments from ticket

* +

* +

* polishing

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

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

* external link for understanding

* Перевод на русский

* Доработала русский перевод

* Причесала перевод

* Уточнение части перевода

* Шлифовка части перевода

Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-10-14 14:33:23 +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
da4e4c5cdb Merge branch 'master' into filipecaixeta-master 2020-10-13 23:44:48 +03:00
alexey-milovidov
c87cc24d65
Merge pull request #15937 from ClickHouse/fix-bad-docs
Fix broken links in docs
2020-10-13 23:05:39 +03:00
alexey-milovidov
b4701c9488
Update adopters.md 2020-10-13 23:02:51 +03:00
Alexey Milovidov
db4db42b65 Fix broken links in docs 2020-10-13 20:23:29 +03:00
alexey-milovidov
c30bcd79e3
Fix trash #15935 2020-10-13 19:17:04 +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
Alexander Kuzmenkov
6200433e12 Merge origin/master into tmp (using imerge) 2020-10-12 21:15:31 +03:00
myrrc
53471315ff updated docs -- removed the unbundled option for...
Default values in Cmake in ClickHouse, as there could be some caveats
(e.g. tester not working)
2020-10-12 17:42:19 +03:00
Olga Revyakina
6802db6954 Database or Table Engine descrition template upd 2020-10-12 09:59:35 +03:00
Mikhail Filimonov
e17d4e1eeb
Tests and some docs 2020-10-12 07:51:46 +02:00
Alexey Milovidov
8a252ebef8 Merge remote-tracking branch 'origin/master' into filipecaixeta-master 2020-10-11 17:29:50 +03:00
kssenii
5ee01f5575 update docs 2020-10-10 22:59:32 +03:00
Alexey Milovidov
9ca9855f96 Merge branch 'master' into filipecaixeta-master 2020-10-10 20:52:34 +03:00
alexey-milovidov
705abef402
Merge pull request #15679 from adevyatova/annadevyatova-DOCSUP-2861-codec
DOCSUP-2861: Add ability to specify Default codec
2020-10-10 20:37:39 +03:00
alexey-milovidov
a35c855902
Update table.md 2020-10-10 20:37:15 +03:00
Alexey Milovidov
ac4d394d12 Fix ugly links in docs 2020-10-10 10:50:37 +03:00
alexey-milovidov
59cfb87a96
Merge pull request #15799 from ClickHouse/fix-links-in-docs
Fix ugliness in docs
2020-10-10 10:48:11 +03:00
alexey-milovidov
00dd2caecb
Merge pull request #15604 from r1j1k/patch-5
Update type-conversion-functions.md
2020-10-09 22:43:30 +03:00
Alexey Milovidov
e0d6918d28 Fix ugliness in docs 2020-10-09 22:29:42 +03:00
Azat Khuzhin
064f901ea8 Add ability to preallocate hashtables for hashed/sparsehashed dictionaries
preallocation can be used only when we know number of rows, and for this
we need:
- source clickhouse
- no filtering (i.e. lack of <where>), since filtering can filter
  too much rows and eventually it may allocate memory that will
  never be used.

For sparse_hash the difference is quite significant, preallocated
sparse_hash hashtable allocates ~33% faster (7.5 seconds vs 5 seconds
for insert, and the difference is more significant for higher number of
elements):

    $ ninja bench-sparse_hash-run
    [1/1] cd /src/ch/hashtable-bench/.cmake && ...ch/hashtable-bench/.cmake/bench-sparse_hash
    sparse_hash/insert: 7.574 <!--
    sparse_hash/find  : 2.14426
    sparse_hash/maxrss: 174MiB
    sparse_hash/time:   9710.51 msec (user+sys)

    $ time ninja bench-sparse_hash-preallocate-run
    [1/1] cd /src/ch/hashtable-bench/.cmake && ...-bench/.cmake/bench-sparse_hash-preallocate
    sparse_hash/insert: 5.0522 <!--
    sparse_hash/find  : 2.14024
    sparse_hash/maxrss: 174MiB
    sparse_hash/time:   7192.06 msec (user+sys)

P.S. the difference for sparse_hashed dictionary with 4e9 elements
(uint64, uint16) is ~18% (4975.905 vs 4103.569 sec)

v2: do not reallocate the dictionary from the progress callback
    Since this will access hashtable in parallel.
v3: drop PREALLOCATE() and do this only for source=clickhouse and empty
    <where>
2020-10-09 22:28:14 +03:00
alexey-milovidov
2ace9cc697
Merge pull request #15635 from yulu86/zh-optimize
Optimize Chinese tutorial to make it more human readable
2020-10-09 22:08:42 +03:00
alexey-milovidov
9649eae1e8
Merge pull request #15747 from Artemeey/patch-2
Update index.md
2020-10-08 20:57:49 +03:00
alexey-milovidov
350e463892
Merge branch 'master' into patch-5 2020-10-08 16:14:22 +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
alexey-milovidov
c00ca64655
Merge pull request #15603 from r1j1k/patch-4
Update decimal.md
2020-10-08 15:56:41 +03:00
alexey-milovidov
0b3fd629da
Merge pull request #15602 from r1j1k/patch-3
Update int-uint.md
2020-10-08 15:56:09 +03:00
vic
dd7d46052e
add tcp client for php
add tcp client for php
2020-10-08 15:30:14 +08:00
Artemeey
b3238c2765
Update index.md
fix links
2020-10-08 08:10:17 +03:00
alexey-milovidov
e465ce3d49
Merge pull request #15642 from azat/force_data_skipping_indices
Implement force_data_skipping_indices setting
2020-10-07 23:14:51 +03:00
Anna
cc9dafcb30
DOCSUP-2614: Added description for isDecimalOverflow and countDigits function (#15109)
* Added description for isDecimalOverflow and countDigits function

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

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

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

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

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

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

* Translated on russian

* Move to functions/other-functions.md

* Fixed errors

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

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

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

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

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

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

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

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

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

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

Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-10-07 21:13:01 +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
Anna
064be8db54 Add desc for Default codec 2020-10-06 16:16:28 +03:00
olgarev
dd939ce623
DOCSUP-1674: Docs for the extractAllGroupsHorizontal and extractAllGroupsVertical functions (English) (#14317)
* Docs for the extractAllGroupsHorizontal and extractAllGroupsVertical functions (English).

* Minor fixes (en).

* Misspelling fixed.

* English docs corrected and translated into Russian.

* English misspelling corrected.

Co-authored-by: Olga Revyakina <revolg@yandex.ru>
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
2020-10-06 14:17:19 +03:00
yulu86
0cc7f3eac8 optimize Chinese tutorial 2020-10-06 00:05:34 +08:00
yulu86
791862d416 optimize Chinese tutorial 2020-10-05 23:54:44 +08:00
yulu86
537a497904 optimize Chinese tutorial 2020-10-05 23:29:53 +08:00
olgarev
a77d232411
DOCSUP-2407: Documented the bayesAB function (#15599)
* Docs for the bayesAB function, english.

* Note edited.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
2020-10-05 16:06:16 +03:00
r1j1k
568235ddeb
Merge branch 'master' into 53r93y-DOCSUP-2866-allow_experimental_bigint_types 2020-10-05 09:35:45 +03:00
r1j1k
2b28fde87f
Update type-conversion-functions.md 2020-10-05 09:04:22 +03:00
r1j1k
f8fb9ccb7b
Update decimal.md
-decimal256s}
2020-10-05 08:42:21 +03:00
r1j1k
1e638d2a61
Update int-uint.md 2020-10-05 08:29:45 +03:00
filipe
146f973437 add maximum_unit arg to formatReadableTimeDelta function 2020-10-03 19:38:51 -03:00
alexey-milovidov
bbedd9b08f
Merge pull request #15308 from otrazhenia/evgsudarikova-DOCSUP-2402-formatrow
DOCSUP-2402: Document the formatRow function
2020-10-03 17:05:46 +03:00
alexey-milovidov
eb67696353
Update type-conversion-functions.md 2020-10-03 17:05:25 +03:00
alexey-milovidov
561f3613b2
Update type-conversion-functions.md 2020-10-03 17:04:47 +03:00
alexey-milovidov
fd24654ca4
Merge pull request #15324 from adevyatova/annadevyatova-DOCSUP-2615-normalizeQuery
DOCSUP-2615: normalizeQuery and normalizeQueryHash
2020-10-03 17:00:14 +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
15af9f407e
Merge pull request #15417 from dmi-feo/patch-1
fix insert_quorum_timeout doc
2020-10-03 16:55:46 +03:00
alexey-milovidov
a4c16459a7
Update settings.md 2020-10-03 16:55:27 +03:00
alexey-milovidov
8d6f001dba
Merge pull request #15423 from den-crane/patch-1
Update settings.md / fix description of max_server_memory_usage
2020-10-03 16:38:22 +03:00
alexey-milovidov
1f0e41656c
Merge pull request #15416 from ClickHouse/filimonov-doc-core_dump
Mention core_dump size limit in docs
2020-10-03 16:37:11 +03:00
Azat Khuzhin
9cb3c743bd
Convert to python3 (#15007) 2020-10-02 19:54:07 +03:00
Artem Zuikov
ecdf0ed1a8
update en and ru docs: add 128/256 types (#15515) 2020-10-02 16:47:29 +03:00
Sergey Ryzhkov
0d5923d87c Update type-conversion-functions.md 2020-10-02 10:11:14 +03:00
Sergey Ryzhkov
ea9045da8d DOCSUP-2866: Document the allow_experimental_bigint_types setting 2020-10-02 08:09:44 +03:00
Alexander Kuzmenkov
244687bfc1 Merge remote-tracking branch 'origin/master' into HEAD 2020-10-01 18:41:48 +03:00
filipe
077ee81177 add an SQL function formatReadableTimeDelta to format time delta 2020-09-30 23:55:46 -03:00
alexey-milovidov
aa43e3d5db
Merge pull request #15377 from cagev/patch-1
Update apply-catboost-model.md
2020-09-30 19:18:26 +03:00
robot-clickhouse
992bf869ca
Merge pull request #15460 from ClickHouse/dependabot/pip/docs/tools/mkdocs-macros-plugin-0.4.17
Bump mkdocs-macros-plugin from 0.4.13 to 0.4.17 in /docs/tools
2020-09-30 13:40:07 +03:00
tavplubix
a4b4895b26
Merge pull request #15435 from ClickHouse/ADQM-160-fix
Try merge #14265 again
2020-09-30 11:21:55 +03:00
dependabot-preview[bot]
4c6e0108a2
Bump mkdocs-macros-plugin from 0.4.13 to 0.4.17 in /docs/tools
Bumps [mkdocs-macros-plugin](https://github.com/fralau/mkdocs_macros_plugin) from 0.4.13 to 0.4.17.
- [Release notes](https://github.com/fralau/mkdocs_macros_plugin/releases)
- [Commits](https://github.com/fralau/mkdocs_macros_plugin/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-30 06:08:53 +00:00
alexey-milovidov
ba56691616
Merge pull request #15459 from ucasFL/new-branch
update document
2020-09-30 06:02:20 +03:00
feng lv
61d5f89235 update document 2020-09-30 10:57:04 +08:00
alexey-milovidov
895c3210c1
Merge pull request #15151 from arielrobaldo/patch-1
Update index.md
2020-09-30 01:22:31 +03:00
alesapin
70db44f408
Merge pull request #15436 from ClickHouse/myrrc-fix/cmake-docs-gen
Merging #15410
2020-09-29 17:11:09 +03:00
alesapin
7bc12ca0c3 Fix bugs 2020-09-29 11:59:40 +03:00
Alexander Tokmakov
a7d3a024c7 Revert "Revert "Test and doc for PR12771 krb5 + cyrus-sasl + kerberized kafka""
This reverts commit c298c633a7.
2020-09-29 11:56:37 +03:00
Konstantin Malanchev
6da04c7d8b
Fix a typo in Russian docs 2020-09-29 10:51:52 +02:00
bharatnc
ac49360525 Field event_time_microseconds - add documentation 2020-09-29 11:28:49 +03:00
Anna
ac859470a3 Translate to Russian 2020-09-28 23:58:08 +03:00
Denny Crane
d9e5593808
Update settings.md
fix description of max_server_memory_usage
2020-09-28 15:26:38 -03:00
dmi-feo
9014722695
fix insert_quorum_timeout doc
06d7b6cbef/src/Core/Settings.h (L160)
2020-09-28 19:25:36 +03:00
tavplubix
421d3b0b86
Merge pull request #14760 from bharatnc/ncb/event_time_microsec_p2
add event_time_microseconds field for system.{trace,text,query,query_thread}_log tables
2020-09-28 18:34:21 +03:00
filimonov
5b142ac37f
Update settings.md 2020-09-28 17:01:28 +02:00
Alexander Kuzmenkov
218d86de7e Merge remote-tracking branch 'origin/master' into tmp 2020-09-28 16:29:51 +03:00
myrrc
6c0c13cf18 slightly rewrote paths handling 2020-09-28 16:28:36 +03:00
myrrc
e19f51680a fixing links using abs path 2020-09-28 15:47:10 +03:00
Arthur Wong
e428c5158d
Update apply-catboost-model.md 2020-09-28 16:12:14 +08:00
Olga Revyakina
64a431ae8b Custom settings docs in english. 2020-09-28 05:59:01 +03:00
Evgeniia Sudarikova
cc7d6ed775 add RU description 2020-09-27 21:24:34 +03:00
Evgeniia Sudarikova
a1bc246d53 edited after review 2020-09-27 21:08:17 +03:00
Anna
5f8d7fab17 Upd desc and move to string-functions.md 2020-09-26 10:07:16 +03:00
alexey-milovidov
9e4c48ad81
Merge pull request #15184 from ycd/master
Added Comprehension to Improve Performance
2020-09-26 07:34:26 +03:00
bharatnc
5359e3bf70 Field event_time_microseconds - add documentation 2020-09-25 10:39:37 -07:00
Anna
d52e1634a2 Add normalizedQuery normalizedQueryHash desc 2020-09-25 17:32:39 +03:00
Evgeniia Sudarikova
0e164a9ec7 add EN description 2020-09-25 16:34:35 +03:00
Yatsishin Ilya
39c356f230 Change phone number 2020-09-25 16:12:52 +03:00
Olga Revyakina
536c8c2416 Russian text updated. 2020-09-25 11:39:29 +03:00
John
23f06de0be
Update in.md 2020-09-25 11:48:25 +08:00
alexey-milovidov
23fd72a3de
Update adopters.md 2020-09-25 04:59:01 +03:00
tavplubix
c298c633a7
Revert "Test and doc for PR12771 krb5 + cyrus-sasl + kerberized kafka" 2020-09-24 16:10:24 +03:00
Alexander Kuzmenkov
131c15026f
Merge pull request #15193 from ildus/doc_fixes
Fix documentation for map functions
2020-09-24 11:50:12 +03:00
Ilya Yatsishin
7dad84ea6b
Merge pull request #14265 from arenadata/ADQM-160
Test and doc for PR12771 krb5 + cyrus-sasl + kerberized kafka
2020-09-23 19:02:58 +03:00
alesapin
39f23fbb8f
Merge pull request #14711 from myrrc/feature/cmake-flags-doc-generator
CMake flags reference generator, the guide for adding new options, and the attempt to correct the existing options
2020-09-23 18:56:32 +03:00
alesapin
43571bf8d6 Fix script 2020-09-23 18:18:03 +03:00
myrrc
df5db10e01 another better-or-worse fix 2020-09-23 17:09:34 +03:00
myrrc
af50f9d52d another fix 2020-09-23 16:58:16 +03:00
myrrc
fef9e0d06d fixed the invalid AMP generation 2020-09-23 16:53:54 +03:00
Ildus Kurbangaliev
59cc997d9c Fix documentation for map functions 2020-09-23 15:12:13 +02:00
myrrc
ad94e4ae22 fixed default values links 2020-09-23 14:47:55 +03:00
Alexander Kuzmenkov
f6316e2612 Merge remote-tracking branch 'origin/master' into tmp 2020-09-23 11:53:13 +03:00
Yağızcan Değirmenci
60bb54093b
Added Comprehension to Improve Performance 2020-09-23 11:18:08 +03:00
alexey-milovidov
f726bfa3a5
Update extended-roadmap.md 2020-09-23 03:26:15 +03:00
myrrc
808ab9e417 Merge branch 'feature/cmake-flags-doc-generator' of github:myrrc/clickhouse into feature/cmake-flags-doc-generator 2020-09-22 18:09:56 +03:00
myrrc
476b488301 fix: resulting files path 2020-09-22 18:08:48 +03:00
alesapin
1d98561b79 Merge branch 'feature/cmake-flags-doc-generator' of github.com:myrrc/ClickHouse into myrrc-feature-cmake-flags-doc-generator 2020-09-22 17:55:51 +03:00
myrrc
0636e249a1 fix: path traversal 2020-09-22 17:53:14 +03:00
alesapin
269d225637 Merge branch 'master' into myrrc-feature-cmake-flags-doc-generator 2020-09-22 17:00:02 +03:00
Alexander Kuzmenkov
7b64ca33b1 Merge remote-tracking branch 'origin/master' into tmp 2020-09-22 14:02:20 +03:00
Alexander Kuzmenkov
bfc3be9e43 Merge remote-tracking branch 'origin/aku/tcp-versio' into tmp 2020-09-22 14:02:15 +03:00
alexey-milovidov
df122b90b4
Update performance-test.md 2020-09-22 02:07:12 +03:00
alexey-milovidov
3c1a679612
Update performance-test.md 2020-09-22 02:06:19 +03:00
alexey-milovidov
40ff1cf912
Update adopters.md 2020-09-22 00:45:53 +03:00
alexey-milovidov
083bc291d2
Merge pull request #15067 from ClickHouse/dependabot/pip/docs/tools/mkdocs-macros-plugin-0.4.13
Bump mkdocs-macros-plugin from 0.4.9 to 0.4.13 in /docs/tools
2020-09-21 20:46:40 +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
Artemeey
a7aa714a28
Update mergetree.md
описание move_factor
2020-09-21 11:14:37 +03:00
Artemeey
aa39059890
Update storage_policies.md
Описание move_factor
2020-09-21 11:10:27 +03:00
dependabot-preview[bot]
0119eb9c0d
Bump mkdocs-macros-plugin from 0.4.9 to 0.4.13 in /docs/tools
Bumps [mkdocs-macros-plugin](https://github.com/fralau/mkdocs_macros_plugin) from 0.4.9 to 0.4.13.
- [Release notes](https://github.com/fralau/mkdocs_macros_plugin/releases)
- [Commits](https://github.com/fralau/mkdocs_macros_plugin/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-21 06:17:03 +00:00
alexey-milovidov
3e0509af69
Merge pull request #13573 from amosbird/rms
specific ReplicatedMergeTree settings
2020-09-21 01:36:33 +03:00
alexey-milovidov
e31a9c42e6
Merge pull request #14838 from BayoNet/docs/CLICKHOUSEDOCS-758-fixing-links
DOCS-758: Fixed links. Turned on the "links to nowhere" check for Russian language.
2020-09-20 23:08:55 +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
07f95d0399
Update lowcardinality.md 2020-09-20 23:07:17 +03:00
alexey-milovidov
41a9264d27
Merge pull request #14866 from olgarev/revolg-DOCSUP-2033-Edit_and_translate_to_Russian
DOCSUP-2033: Edit and translate to Russian
2020-09-20 22:57:59 +03:00
alexey-milovidov
e464f40733
Merge pull request #14884 from damozhaeva/dmozhaeva-DOCSUP-2041-edit-and-translate
DOCSUP-2041:  Edit and translate to Russian
2020-09-20 19:47:26 +03:00
alexey-milovidov
92756f4635
Update type-conversion-functions.md 2020-09-20 19:46:44 +03:00
alexey-milovidov
b2e9d0f20f
Update maxmap.md 2020-09-20 19:45:57 +03:00
alexey-milovidov
757be58fca
Update maxmap.md 2020-09-20 19:45:43 +03:00
alexey-milovidov
5244653493
Update maxmap.md 2020-09-20 19:45:27 +03:00
myrrc
80949fa48e an attempt to fix docs build 2020-09-20 01:27:36 +03:00
myrrc
8bda21f9f1 added conditional execution ability 2020-09-19 21:45:10 +03:00
myrrc
aba66a53b1 replace os.chdir with relative path 2020-09-19 21:41:38 +03:00
myrrc
0afaca52f2 finishing the PR 2020-09-19 20:31:41 +03:00
myrrc
af95fdfbef fixed libraries parser 2020-09-19 20:28:40 +03:00
myrrc
146dd0f3f0 fixed comments parser 2020-09-19 20:14:37 +03:00
myrrc
2544d1442d replaced _ with - in file name 2020-09-19 19:51:21 +03:00
myrrc
c78d9f9f38 moved the generators to docs/ folder 2020-09-19 19:42:36 +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
alexey-milovidov
85506cee47
Merge pull request #14415 from dreamerfable/master
Update replacingmergetree.md
2020-09-19 16:42:30 +03:00
alexey-milovidov
079aa8aad7
Merge pull request #14625 from fanofxiaofeng/patch-1
"回话" -> "的会话"
2020-09-19 16:33:05 +03:00
alexey-milovidov
7bd357ec23
Merge pull request #14733 from ClickHouse/dependabot/pip/docs/tools/numpy-1.19.2
Bump numpy from 1.19.1 to 1.19.2 in /docs/tools
2020-09-19 16:27:35 +03:00
myrrc
3953ed485b added sub-tables in report, replaced some USE_ -> ENABLE_ for
consistency
2020-09-18 16:09:22 +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
alexey-milovidov
6a1e4ccdf9
Merge pull request #14946 from yulu86/correct_content
Correct SQL syntax error for Chinese document
2020-09-18 01:22:15 +03:00