Commit Graph

4404 Commits

Author SHA1 Message Date
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
alexey-milovidov
21fa92331e
Merge pull request #14812 from yulu86/optimize-cn-doc
Optimize Chinese tutorial import data section to make it more human readable
2020-09-18 01:18:10 +03:00
alexey-milovidov
9b6c62e82b
Merge pull request #14867 from amosbird/lbo
Explicit define what first replica is.
2020-09-17 19:37:15 +03:00
yulu86
eab11e35cd modify title of aggragate functions in Chinese 2020-09-17 22:58:20 +08:00
yulu86
c156c0f28f modify syntax 2020-09-17 22:54:28 +08:00
Vitaly Baranov
3356d75b23
Merge pull request #13156 from azat/cluster-secure
Secure inter-cluster query execution (with initial_user as current query user) [v3]
2020-09-17 17:11:00 +03:00
Ilya Golshtein
2d5c31d588 test_storage_kerberized_kafka cleanup + negative test 2020-09-17 16:51:34 +03:00
roman
b41421cb1c [settings]: introduce new query complexity settings for leaf-nodes
The new setting should allow to control query complexity on leaf nodes
excluding the final merging stage on the root-node. For example, distributed
query that reads 1k rows from 5 shards will breach the `max_rows_to_read=5000`,
while effectively every shard reads only 1k rows. With setting `max_rows_to_read_leaf=1500`
this limit won't be reached and query will succeed since every shard reads
not more that ~1k rows.
2020-09-17 10:37:05 +01:00
Alexander Kuzmenkov
6217dd77b5 Merge remote-tracking branch 'origin/master' into tmp 2020-09-17 12:35:10 +03:00
Ariel Robaldo
5da83fb14d
Update index.md
incomplete yet, only performed first 40 lines, hope to continue soon
2020-09-16 20:21:01 -03:00
damozhaeva
4a094491f2
DOCSUP-2038 Edit and translate to Russian (#14236)
* Editing and translation.

* Editing and translation v2.

* Update docs/ru/getting-started/playground.md

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

* Update docs/ru/getting-started/playground.md

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

* Update docs/ru/getting-started/playground.md

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

* Update docs/ru/getting-started/playground.md

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

* Update docs/ru/getting-started/playground.md

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

* Russian changes.

* Changed links.

* Update docs/ru/getting-started/playground.md

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

* Update docs/ru/getting-started/playground.md

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

* Changed odbc link

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: emironyuk <em@don.ru>
Co-authored-by: Daria Mozhaeva <dmozhaeva@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-09-16 21:54:55 +03:00
alexey-milovidov
9f5599858e
Merge pull request #14820 from vladimir-golovchenko/fix-sql-compatibility-doc
Fix SQL compatibility doc
2020-09-16 20:44:22 +03:00
Daria Mozhaeva
8dc3c9b239 Edit and translate. 2020-09-16 18:14:33 +04:00
Amos Bird
38d53c38f6
Explicit define what first replica is. 2020-09-16 17:54:41 +08:00
Olga Revyakina
c5f3f07983 Translated into Russian. 2020-09-16 09:13:28 +03: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
8ed698e1dc
Update ext-dict-functions.md 2020-09-15 11:14:51 -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
Evgeniia Sudarikova
7c0cafab0a resolving conflict 2020-09-15 16:58:39 +03:00
Evgeniia Sudarikova
18bb5f026a changes after review 2020-09-15 16:37:12 +03:00
Olga Revyakina
9d6247bb7e Links fixed 2020-09-15 14:38:22 +03:00