Commit Graph

3239 Commits

Author SHA1 Message Date
Daria Mozhaeva
843a26cbca Edit and translate v2. 2020-12-09 18:50:58 +03:00
Daria Mozhaeva
d1c7833f28 Edit and translate. 2020-12-09 17:03:38 +03:00
Evgeniia Sudarikova
858390b7cf add example to EN version 2020-12-09 13:33:42 +03:00
Dmitriy
215c5675dd Update replication_queue.md
Изменил описание столбца node_name.
2020-12-08 23:25:45 +03:00
Dmitriy
ce721f95ee Create replication_queue.md
Задокументировал системную таблицу replication_queue.
2020-12-08 21:46:25 +03:00
alexey-milovidov
8ff30b87a6
Merge pull request #15930 from kitaisreal/clickhouse-client-and-local-added-queries-file-parameter
Clickhouse client and clickhouse local added queries-file parameter
2020-12-08 21:44:19 +03:00
Alexander Kuzmenkov
2706f01e1d
Merge pull request #17551 from sevirov/sevirov-DOCSUP-4525-document_output_format_json_array_of_rows
DOCSUP-4525: Document the output_format_json_array_of_rows setting
2020-12-08 20:43:16 +03:00
Alexander Kuzmenkov
46602c5a8b
Apply suggestions from code review 2020-12-08 20:42:23 +03:00
Nikita Mikhaylov
767d1fc98b
Update date-time-functions.md 2020-12-08 18:32:55 +03:00
alexey-milovidov
ab10cb4bf9
Merge pull request #17707 from ClickHouse/quota-by-x-forwarded-for
Allow quotas to be keyed by proxy-forwarded IP address; add support for PROXY protocol
2020-12-08 14:48:05 +03:00
George
4e49c59ed0 minor fix 2020-12-08 04:55:57 +03:00
George
6be3933cea fixed links v2 2020-12-08 04:27:26 +03:00
George
8760fc1227 Fixed links 2020-12-08 04:07:34 +03:00
George
1f0cfbaca8 Added Collation description 2020-12-08 03:51:41 +03:00
Dmitriy
b767c7bfdd Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-4525-document_output_format_json_array_of_rows 2020-12-07 20:08:40 +03:00
alexey-milovidov
e5343801bf
Update adopters.md 2020-12-07 19:50:07 +03:00
Maksim Kita
f5d1a9e59a Clickhouse client and local added queries-file parameter 2020-12-07 19:29:17 +03:00
alexey-milovidov
584fb97ed2
Merge pull request #17832 from kitaisreal/clickhouse-benchmark-added-query-parameter
Clickhouse-benchmark added query parameter
2020-12-07 19:26:16 +03:00
alexey-milovidov
54cb871b0c
Fix misleading docs. 2020-12-07 19:23:46 +03:00
annvsh
50297f7012 Fixed 2020-12-07 22:35:31 +07:00
annvsh
88435efc1c Fixed 2020-12-07 22:33:48 +07:00
Alexey Milovidov
1ed329017b Merge branch 'master' into quota-by-x-forwarded-for 2020-12-07 18:22:19 +03:00
annvsh
303d27f82b Fixed 2020-12-07 21:21:37 +07:00
filimonov
af9d9a7b9c
dict notes
sync docs with https://github.com/ClickHouse/ClickHouse/pull/8127
2020-12-07 14:01:12 +01:00
PHO
3c90065158 Add functions toMJD and fromMJD
These functions convert between Proleptic Gregorian calendar date and Modified Julian Day number.
2020-12-07 16:00:32 +03:00
Evgeniia Sudarikova
e2ddb3f723 edited after review 2020-12-07 13:01:04 +03:00
jianmei zhang
8ecd565441 Fix translated errors and update misc to latest 2020-12-07 13:28:09 +08:00
annvsh
b12b35a386 Fixed 2020-12-06 23:22:09 +07:00
Anna Shakhova
e499b7ae27
Merge branch 'master' into anna-shakhova-DOCSUP-3201-add_raw_blob_format 2020-12-06 23:18:32 +07:00
annvsh
99ba006be0 Fixed 2020-12-06 23:10:02 +07:00
Dmitriy
fadf764fef Update math-functions.md
Внес изменения в описание обратных гиперболических функций.
2020-12-06 12:55:09 +03:00
Maksim Kita
97cfaea182 Clickhouse-benchmark added query parameter 2020-12-06 11:53:02 +03:00
Olga Revyakina
375a4dbcba Errors fixed, comments considered (not sure of type conversions) 2020-12-05 03:53:27 +03:00
Alexander Kuzmenkov
b54d50fa7f
Merge pull request #17459 from azat/countMatches-pull
Add countMatches function
2020-12-05 00:01:47 +03:00
Anna
ac0ebd515e
DOCSUP-4193: Document the EXPLAIN statement (#17734)
* Add EXPLAIN query description

* Check examples

* update

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

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

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

Co-authored-by: Nikolai Kochetov <KochetovNicolai@users.noreply.github.com>

Co-authored-by: BayoNet <da-daos@yandex.ru>
Co-authored-by: Nikolai Kochetov <KochetovNicolai@users.noreply.github.com>
2020-12-04 21:24:05 +03:00
sevirov
c23e376474
DOCSUP-4435: Allow nullable key in MergeTree (#17345)
* Update settings.md and mergetree.md

Задокументировал настройку allow_nullable_key. Добавил пару предложений в mergetree.md.

* Update mergetree.md

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

* Update mergetree.md

Вставил ссылку на allow_nullable_key.

* Update mergetree.md

Правлю битую ссылку.

* Update mergetree.md

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

* Update settings.md

Правлю битую ссылку.

* Update mergetree.md and settings.md

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

* Update mergetree.md

Убрал выражение 'для семейства mergetree'.

* Update settings.md

Внес поправки в русскую версию.

* Update mergetree.md and settings.md

Сделал поправки в английскую версию на основе комментарий в PR.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-12-04 21:17:58 +03:00
Ilya Yatsishin
6957e0de87
Merge pull request #17452 from sevirov/sevirov-DOCSUP-4266-document_alter_update_delete_partition
DOCSUP-4266: Document the SQL-statement ALTER UPDATE/DELETE ... IN PARTITION
2020-12-04 14:40:51 +03:00
alexey-milovidov
57b12f4fc1
Merge pull request #17760 from MasterOdin/patch-1
Fix note display on alter/index doc
2020-12-04 12:56:08 +03:00
bharatnc
4f33a6b044 few fixes and formatting 2020-12-03 13:48:02 -08:00
bharatnc
67e6cc8faf docs - add more examples for systems tables 2020-12-03 13:47:56 -08:00
Dmitriy
79d68958cb Update math-functions.md
Выполнил перевод на русский язык.
2020-12-03 23:59:17 +03:00
bharatnc
8e0e29480f system.columns - add some doc examples 2020-12-03 11:15:29 -08:00
Dmitriy
e935c78e94 Update settings.md
Перевел на русский язык.
2020-12-03 20:35:22 +03:00
Matthew Peveler
f29d374211
Fix note display on alter/index doc
Signed-off-by: Matthew Peveler <matt.peveler@popsql.com>
2020-12-03 16:29:28 +02:00
Alexey Milovidov
5cd112969f Update docs 2020-12-03 00:19:29 +03:00
Dmitriy
aca04ebc87 Update files in the 'alter'.
Внес поправки в английскую версию, выполнил перевод на русский язык, подкорректировал некоторые файлы в 'ALTER'.
2020-12-02 23:26:48 +03:00
alexey-milovidov
fd44e64123
Merge pull request #17745 from MasterOdin/patch-1
Improve showing identifier examples on syntax docs
2020-12-02 22:43:30 +03:00
alexey-milovidov
e97ce6afb2
Update syntax.md 2020-12-02 22:43:11 +03:00
Anna Shakhova
4479cfbcb0
DOCSUP-3871: Document prefer_not_to_merge option (#17090)
* Init commit

* Translation

* Fixed

* Fixed

* Fixed

* Fixed
2020-12-02 22:03:24 +03:00
Matthew Peveler
eac2ff6311
Improve showing identifier examples on syntax docs
Signed-off-by: Matthew Peveler <matt.peveler@popsql.com>
2020-12-02 20:22:54 +02:00
Matthew Peveler
d5ec885674
Fix link to database engines
Signed-off-by: Matthew Peveler <matt.peveler@popsql.com>
2020-12-02 00:30:05 +02:00
Matthew Peveler
aa45b852b6
Update wording per suggestion
Signed-off-by: Matthew Peveler <matt.peveler@popsql.com>
2020-12-01 23:26:28 +02:00
Matthew Peveler
a10222b5fe
Update column info for system.database
Signed-off-by: Matthew Peveler <matt.peveler@popsql.com>
2020-12-01 21:36:08 +02:00
Dmitriy
7a0fcaa869 Update math-functions.md
Выполнил описание некоторых математических функций.
2020-12-01 22:25:57 +03:00
Denny Crane
03a74e9d62
Update date-time-functions.md 2020-12-01 14:47:56 -04:00
Denny Crane
12f0a3feaf
Update date-time-functions.md 2020-12-01 14:45:00 -04:00
Azat Khuzhin
0004fd8ab9 Merge remote-tracking branch 'upstream/pr/16277' into countMatches-pull 2020-12-01 21:03:33 +03:00
alexey-milovidov
79f25588d4
Merge pull request #17647 from den-crane/patch-3
Doc. toTimeZone
2020-12-01 20:48:09 +03:00
alexey-milovidov
609a928f39
Merge pull request #17650 from den-crane/patch-5
Doc. Replacing Dedup
2020-12-01 20:47:30 +03:00
alexey-milovidov
d5f4cd592b
Merge pull request #17652 from den-crane/patch-1
Doc. fixed dictionaries_lazy_load
2020-12-01 20:46:33 +03:00
Matthew Peveler
a8c66f9ada
Fix typo in alter/index docs
Signed-off-by: Matthew Peveler <matt.peveler@popsql.com>
2020-12-01 19:21:39 +02:00
Denny Crane
7816b1c65f
dictionaries_lazy_load 2020-11-30 23:57:14 -04:00
Denny Crane
534cec15b2
Update replacingmergetree.md 2020-11-30 23:06:36 -04:00
Denny Crane
2e5c415035
Update date-time-functions.md 2020-11-30 22:19:26 -04:00
Denny Crane
667f3fcfde
toTimeZone 2020-11-30 22:07:16 -04:00
Dmitriy
5b505dd749 Update partition.md
Внес поправки в английскую версию.
2020-11-30 23:33:30 +03:00
Dmitriy
5f0d06d926 Update settings.md
Внес поправки в английскую версию.
2020-11-30 21:42:27 +03:00
olgarev
1a6c62345b
Apply suggestions from code review
Co-authored-by: tavplubix <tavplubix@gmail.com>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-30 19:09:07 +03:00
olgarev
fe00f70424
DOCSUP-4194: Updated CREATE TABLE statement with PRIMARY KEY section (#17213)
* Section added

* Syntax corrected

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
2020-11-30 18:09:46 +03:00
alexey-milovidov
e9795acd93
Update adopters.md 2020-11-30 10:50:14 +03:00
AnaUvarova
104c1a72e8
DOCSUP-2956 system events show zero values setting (#16794)
* Draft

* Material

* Dratf is ready

* +

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

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

* Comments fixed

* Russian translation

* Final edits

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

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

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

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

* one more adopters

* Update docs/en/introduction/adopters.md

* Update adopters.md

Fixed the sorting order.

Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-29 22:57:51 +03:00
alexey-milovidov
00da5148a1
Merge pull request #17347 from azat/substringCount
Implement countSubstrings()
2020-11-29 14:32:33 +03:00
Dmitriy
de99b0a7df Update settings.md
Задокументировал настройку output_format_json_array_of_rows.
2020-11-29 13:40:38 +03:00
Olga Revyakina
a0f184c089 Link fixed. Topic added to the index page 2020-11-28 18:56:16 +03:00
Olga Revyakina
8b98467a40 MaterializeMySQL documented in English. System Table template updated. 2020-11-28 18:49:52 +03:00
sevirov
cc2a287a89
DOCSUP-3922: Document the tuple functions (#17505)
* Update in-functions.md and tuple-functions.md

Изменил регистр в названиях разделов.

* Update tuple-functions.md and in-functions.md

Убрал описание операторов из in-functions.md.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-11-28 14:38:57 +03:00
Dmitriy
3db2d4d0ac Update partition.md
Внес поправки в общий вид запроса IN PARTITION.
2020-11-28 13:07:10 +03:00
sevirov
2c6ba4a3ab
DOCSUP-4264: Update the SQL-statement ALTER TABLE DROP DETACH PART (#17374)
* Update partition.md

Обновил подразделы DETACH PARTITION и DROP PARTITION.

* Update partition.md

Сделал изменения в русской версии.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-11-28 11:27:31 +03:00
alexey-milovidov
aac8299db0
Merge pull request #17467 from ClickHouse/filimonov-doc-jsonasstring
Document JSONAsString
2020-11-28 08:35:14 +03:00
alexey-milovidov
70af62af79
Merge pull request #17468 from ClickHouse/filimonov-patch-1
add a note for copier docs
2020-11-28 08:32:59 +03:00
alexey-milovidov
b26dcdea7c
Update adopters.md 2020-11-28 05:19:13 +03:00
alexey-milovidov
507bdd9e13
Update adopters.md 2020-11-28 05:15:44 +03:00
alexey-milovidov
0ec69b8079
Update adopters.md 2020-11-28 05:14:09 +03:00
Dmitriy
76366d8884 Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-4266-document_alter_update_delete_partition 2020-11-28 01:13:27 +03:00
Denny Crane
c34b547e41
Update date-time-functions.md 2020-11-27 16:18:08 -04:00
Denny Crane
c31572c709
Update date-time-functions.md 2020-11-27 16:14:07 -04:00
sevirov
59b92c7464
DOCSUP-3922: Document the untuple() function (#17110)
* Create tuple-functions.md

Выполнил описание функции untuple на английском языке.

* Update tuple-functions.md

Подкорректировал описание.

* Update tuple-functions.md

Подкорректировал описание.

* Update tuple-functions.md

Внес небольшие поправки.

* Translate untuple-functions.md

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

* Update tuple-functions.md

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

* Update tuple-functions.md

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

* Update tuple-functions.md and in-functions.md

Добавил функции и ссылки.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-11-27 22:37:44 +03:00
Anna Shakhova
0ae690e6ed
DOCSUP-2955: documented the rankCorr function (#16109)
* rankCorr: init commit in English.

* Fixed

* Fixed links.

* Fixed link.

* Fixed link.

* Fixed link.

* Fixed link to document Float32

* Fixed remarks

* Fixed

* Translation
2020-11-27 19:56:38 +03:00
Ivan Blinkov
ddca46d877
Update index.md 2020-11-27 11:43:32 -03:00
filimonov
4b54259414
Update formats.md 2020-11-27 12:14:50 +01:00
filimonov
8b3b9a6263
add a note for copier docs 2020-11-27 12:10:57 +01:00
filimonov
2a6ebad668
Update formats.md 2020-11-27 09:01:48 +01:00
filimonov
e2ca214699
Document JSONAsString 2020-11-27 08:59:37 +01:00
alexey-milovidov
13f0521ddd
Update replication.md 2020-11-27 10:40:25 +03:00
alexey-milovidov
dfae1efbbd
Merge pull request #17070 from fastio/master
Support multiple ZooKeeper clusters
2020-11-27 10:38:01 +03:00
alesapin
fe6a64b6f5
Merge pull request #16819 from invis87/patch-1
Update collapsingmergetree.md
2020-11-27 10:27:57 +03:00
Dmitriy
9f35b2a8f0 Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-4266-document_alter_update_delete_partition 2020-11-26 23:29:35 +03:00
Azat Khuzhin
838596c7a4 Implement countSubstrings()
Function to count number of substring occurrences in the string:
- in case of needle is multi char - counts non-intersecting substrings
- the code is based on position helpers.

The following new functions is available:
- countSubstrings()
- countSubstringsCaseInsensitive()
- countSubstringsCaseInsensitiveUTF8()

v0: substringCount()

v2:
- add substringCountCaseInsensitiveUTF8
- improve tests
- fix coding style issues
- fix multichar needle

v3: rename to countSubstrings (by analogy with countEqual())
2020-11-26 22:58:16 +03:00
Dmitriy
a0ea8a25f1 Update partition.md
Правлю битую ссылку.
2020-11-26 20:47:34 +03:00
Dmitriy
3f4f1c7671 Update partition.md
Добавил новый подраздел UPDATE | DELETE IN PARTITION.
2020-11-26 20:02:44 +03:00
Nikolai Kochetov
9291bbb04b
Merge pull request #16804 from vdimir/ip-dict-no-trie
sorted-array based ip_dict
2020-11-26 19:26:06 +03:00
Alexander Kuzmenkov
15a0f14445
Merge pull request #15419 from myrrc/improvement/diff-types-in-avg-weighted
Allow different types in avgWeighted. Allow avg and avgWeighed to operate on extended integral types.
2020-11-26 17:16:48 +03:00
alexey-milovidov
2e76f8b103
Merge pull request #17384 from nikhilnadig28/patch-1
Fixing typo in tutorial.md
2020-11-26 03:26:56 +03:00
Alexander Kuzmenkov
394b81ac46 Merge remote-tracking branch 'origin/master' into HEAD 2020-11-25 23:38:55 +03:00
Nikolai Kochetov
729272391f
Merge branch 'master' into ip-dict-no-trie 2020-11-25 23:07:19 +03:00
Nikita Mikhaylov
f3f06dccac
Merge pull request #17121 from yshrotciv/patch-1
Update replication.md
2020-11-25 21:29:19 +03:00
Nikhil Nadig
86c3240b92
Update tutorial.md 2020-11-25 15:13:07 +05:30
Alexander Kuzmenkov
1d7dcef4a0 Merge remote-tracking branch 'origin/master' into HEAD 2020-11-24 21:45:10 +03:00
myrrc
fbb0e6e6aa Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-24 16:04:17 +03:00
dfenelonov
11039f1d17 Second 2020-11-24 04:26:25 +03:00
Alexander Kuzmenkov
412c2fe079 Merge remote-tracking branch 'origin/master' into HEAD 2020-11-23 19:51:18 +03:00
Anna
e76f7c316b
DOCSUP-4280: Update the SELECT query (#17231)
* Add description for column modifiers

* Update index.md

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

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

Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-23 16:11:15 +03:00
damozhaeva
d423ce34a1
DOCSUP-3584 edit and translate (#17176)
* Edit and translate.

* Update docs/ru/operations/utilities/clickhouse-obfuscator.md

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

* Update docs/ru/operations/utilities/clickhouse-obfuscator.md

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

* Update docs/ru/operations/utilities/clickhouse-obfuscator.md

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

* Update docs/ru/operations/utilities/clickhouse-obfuscator.md

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

* Update docs/ru/operations/utilities/clickhouse-obfuscator.md

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

* Update docs/ru/operations/utilities/clickhouse-obfuscator.md

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

* Update docs/ru/operations/utilities/clickhouse-obfuscator.md

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

* Update docs/en/operations/utilities/clickhouse-obfuscator.md

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

* Update docs/en/operations/utilities/clickhouse-obfuscator.md

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

* Update docs/en/operations/utilities/clickhouse-obfuscator.md

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

* Update docs/ru/operations/utilities/clickhouse-obfuscator.md

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

* Update docs/en/operations/utilities/clickhouse-obfuscator.md

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

Co-authored-by: Daria Mozhaeva <dmozhaeva@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-23 14:52:09 +03:00
dfenelonov
90159ea2e9 -Distinct combinator description 2020-11-23 06:11:06 +03:00
alexey-milovidov
1cdb447b77
Update date-time-functions.md 2020-11-22 07:38:31 +03:00
olgarev
276ba42234
DOCSUP-2864: Documented WITH ROLLUP and WITH CUBE sections of the SELECT query (#17094)
* Docs en,ru

* Explanation added

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
2020-11-21 23:06:29 +03:00
alexey-milovidov
7c93452044
Merge pull request #17259 from den-crane/patch-7
Doc. removed obsolete info about groupby / sum
2020-11-21 22:47:43 +03:00
AnaUvarova
33217c5b49
DOCSUP-1954 initialize aggregation description (#16793)
* Draft

* Draft+

* host fixes

* host fixes

* ++

* ++

* +++

* Edits, part 1: + parametres and clarification

* Edits

* Fix host

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

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

* nano-fixes and russian translation

* Final edits

Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-21 22:47:34 +03:00
Denny Crane
dd7b9f2387
Update index.md
removed obsolete info about sum
2020-11-21 15:05:34 -04:00
Denny Crane
badb7b1ba5
Update group-by.md
removed obsolete info about groupby
2020-11-21 14:58:58 -04:00
vdimir
e2fac19686
Remove libbtrie 2020-11-21 21:31:15 +03:00
Alexander Kuzmenkov
b05ac888bd Merge remote-tracking branch 'origin/master' into HEAD 2020-11-20 12:50:08 +03:00
Kruglov Pavel
51bcd286f2
Merge pull request #16845 from azat/cutToFirstSignificantSubdomainWithWWW
Add cutToFirstSignificantSubdomainWithWWW()
2020-11-20 01:44:57 +03:00
Denny Crane
ceb42affdc
final_parallel 2020-11-19 15:56:00 -04:00
sevirov
75f04fac40
DOCSUP-4162: Document the system.replicated_fetches system table (#16900)
* Create replicated_fetches.md

Задокументировал системную таблицу system.replicated_fetches.

* Edit and translate replicated_fetches.md

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

* Update replicated_fetches.md

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

* Update replicated_fetches.md

Внес изменения в русскую версию.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-11-19 21:12:22 +03:00
alexey-milovidov
45c6483ea4
Merge pull request #16929 from otrazhenia/evgsudarikova-DOCSUP-2958
DOCSUP-2958: Documented the output_format_tsv_null_representation setting
2020-11-19 21:07:38 +03:00
alexey-milovidov
3610074a83
Update settings.md 2020-11-19 21:07:15 +03:00
Alexander Kuzmenkov
5cd23e269d cleanup 2020-11-19 19:55:56 +03:00
Peng Jian
fd0705c93d add doc 2020-11-19 15:44:47 +08:00
alexey-milovidov
29bfb5a518
Merge pull request #16997 from vdimir/source-clickhouse-usability
source(clickhouse(...)) usability
2020-11-19 07:37:00 +03:00
Azat Khuzhin
48645eae33 Add cutToFirstSignificantSubdomainWithWWW()
Sometimes it is odd to get TLD itself from the
cutToFirstSignificantSubdomain() (since you will not get TLD itself if
you pass it directly):
- cutToFirstSignificantSubdomain('org')            -> ""
- cutToFirstSignificantSubdomain('www.org')        -> org
- cutToFirstSignificantSubdomain('kernel.org')     -> kernel.org
- cutToFirstSignificantSubdomain('www.kernel.org') -> kernel.org

So add one more function to get www.org in this case:
- cutToFirstSignificantSubdomainWithWWW('org')            -> ""
- cutToFirstSignificantSubdomainWithWWW('www.org')        -> www.org
- cutToFirstSignificantSubdomainWithWWW('kernel.org')     -> kernel.org
- cutToFirstSignificantSubdomainWithWWW('www.kernel.org') -> kernel.org

P.S. not sure about the naming though, so it will great if someone has
suggestion for the name.
2020-11-18 21:09:27 +03:00
gyuton
fcae0d0f0a
DOCSUP-3845: documented new encrypt and decrypt functions (#16930)
* Added first draft of description

* Added toc_priority

* Updated description

* Updated documentation

* Added examples

* Fixed links

* variable fixes

* minor fixes

* added translation

* fixed typos in translation

* changed toc_title in translation

* minor change

* added various fixes

* fixed typos

* Deleted unnecessary file

* Deleted extra files

Co-authored-by: George <gyuton@yandex-team.ru>
2020-11-17 17:05:33 +03:00
gyuton
4d602afd28
DOCSUP-3538: Documeted the tid and logTrace funtions (#16884)
* Added tid and logTrace functions description

* Added minor fixes

* Minor fixes and added ru translation

* Added links

Co-authored-by: George <gyuton@yandex-team.ru>
2020-11-17 13:03:39 +03:00
yangshuai
e8492a54e0
Update replication.md
Correct spelling
2020-11-17 17:56:29 +08:00
vdimir
428f42053b
Merge remote-tracking branch 'upstream/master' into source-clickhouse-usability 2020-11-16 22:34:28 +03:00
myrrc
b1c0089b78 Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-14 16:50:04 +03:00
vdimir
66fc546331
Fix doc for LIFETIME statement 2020-11-14 16:45:42 +03:00
Anna
a1b1338281
DOCSUP-2869: Document section user_directories in the main config (#16340)
* DOCSUP-2869: Document section user_directories in the main config

* Update settings.md

* Update

* Commit for DOCSUP-3418

* Update

* Russian translation

* Fix typo
2020-11-13 16:08:38 +03:00
Patrick Zippenfenig
178649ed20
Add client library for Swift 2020-11-13 11:58:50 +01:00
gyuton
f48232d615
DOCSUP-3535: Documented the reinterpretAsUUID function (updated) (#16688)
* Updated description

* Updated description

* Added translation

* Fixed links

* Fixed links 2

* Fixed mistakes in translation

* Improved description and added examples

* Minor fixes

Co-authored-by: George <gyuton@yandex-team.ru>
2020-11-12 19:23:32 +03:00
olgarev
b5ec4ab9d4
DOCSUP-2807: Documented the date_trunc function (#15429)
* Docs updated for date_trunc() and now().

* Minor fix.

* Minor fix in en. Translation to Russian.

* Minor link fixes.

* Apply suggestions from code review

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

* Updates

* Minor fix

* Minor updates for now() (en, ru).

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-12 19:14:47 +03:00
Kruglov Pavel
9974ab5928
Merge pull request #16582 from annvsh/anna-shakhova-DOCSUP-3863-formats_tsv_csv_enum_as_number
DOCSUP-3863: Documented the settings input_format_csv_enum_as_number, input_format_tsv_enum_as_number
2020-11-12 16:25:24 +03:00
Evgeniia Sudarikova
869a6f6aa0 Add EN and RU description 2020-11-12 16:25:05 +03:00
annvsh
ab96528a9c Fixed 2020-11-12 19:03:24 +07:00
myrrc
a8d8dd7d3e Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-12 14:50:59 +03:00
alexey-milovidov
d4c99a64b4
Merge pull request #16901 from filimonov/timeSeriesGroupSum-remove-docs
Remove timeSeriesGroupRateSum from docs
2020-11-12 13:45:19 +03:00
feng lv
b1cc582668 fix conflict 2020-11-12 10:42:53 +00:00
alexey-milovidov
ff29b2d2ee
Merge pull request #15073 from sundy-li/storage-rocksdb
StorageEmbeddedRocksDB
2020-11-12 13:17:58 +03:00
feng lv
b7e5c6ed4d fix conflict 2020-11-12 02:26:21 +00:00
Robert Hodges
20d0c5ca67 Add more known ClickHouse users
Added new entries to adopters.md along with links to talks/slides.
2020-11-11 16:38:26 -08:00
Mikhail Filimonov
f4e44e63b0
Remove timeSeriesGroupRateSum from docs 2020-11-11 18:35:48 +01:00
feng lv
fec4080d42 Merge branch 'master' of github.com:ClickHouse/ClickHouse into union-distinct 2020-11-11 03:10:10 +00:00
Alexey Milovidov
630aa9b0c3 Rename Rocksdb to RocksDB 2020-11-11 09:08:53 +08:00
alexey-milovidov
75c994ad87 Update embedded-rocksdb.md 2020-11-11 09:08:53 +08:00
sundy-li
a5fc4d69a5 add docs 2020-11-11 09:08:52 +08:00
sundy-li
8cb3ec5aea add docs 2020-11-11 09:08:52 +08:00
olgarev
115807e77a
DOCSUP-3043: Document the null function (ru) (#16795)
* my changes to gitignore

* Corrections in English docs and Russian docs added.

* TOC corrections

* TOC fixed

* Revert "my changes to gitignore"

This reverts commit 5884b1e79b.

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

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

* Update docs/ru/sql-reference/table-functions/null.md

* Update docs/ru/sql-reference/table-functions/null.md

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-10 17:54:53 +03:00
myrrc
e460248624 Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-10 14:54:24 +03:00
feng lv
9194985d48 Merge branch 'master' of github.com:ClickHouse/ClickHouse into union-distinct 2020-11-10 06:09:39 +00:00
Alexander Kuzmenkov
5449c23cb8
Merge pull request #16040 from kitaisreal/datetime-comparison-with-date-string-literal
DateTime comparison with date string literal
2020-11-10 08:15:00 +03:00
alexey-milovidov
a000a6b41a
Update adding_test_queries.md 2020-11-10 01:37:00 +03:00
alexey-milovidov
258d0549cd
Update adding_test_queries.md 2020-11-10 01:34:19 +03:00
Olga Revyakina
d3d7828642 Minor formatting error fixed 2020-11-09 23:07:34 +03:00
Olga Revyakina
4b17188de1 Minor fix in en. translated to ru. Plus template updates (administrative).. 2020-11-09 22:40:32 +03:00
filimonov
14b4c19919
Create adding_test_queries.md 2020-11-09 20:00:00 +01:00
Aleksandrov Vladimir
0568daf4fc
Update collapsingmergetree.md
formatting fix
2020-11-09 18:55:41 +03:00
annvsh
6543b32221 Fixed 2020-11-09 22:00:18 +07:00
Maksim Kita
02da9af32d DateTime comparison with date string literal 2020-11-09 11:29:08 +03:00
sevirov
4eb684603a
Update order-by.md (#16770)
Заново сделал изменения в английскую и русскую версии.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-11-09 11:21:27 +03:00
Alexander Kuzmenkov
24e57c659a
Merge pull request #15960 from kitaisreal/clickhouse-client-added-history-file-parameter
Clickhouse client added history file parameter
2020-11-09 08:19:00 +03:00
Anna Shakhova
f4afb46433
DOCSUP-3123: Edited the ReplicatedMergeTree and Polygon dictionaries (#16110)
* #13573

* #9278

* Fixed

* Fixed

* Fixed link

* Update docs/en/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-polygon.md

* Update docs/en/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-polygon.md

Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-08 22:42:28 +03:00
Olga Revyakina
b480c3c2d3 Docs for the Regexp input format (en) 2020-11-08 08:56:56 +03:00
alexey-milovidov
6eda689aa3
Update adopters.md 2020-11-08 00:55:34 +03:00
feng lv
1ca7dcb0a8 fix conflict 2020-11-07 11:44:29 +00:00
alexey-milovidov
c2e6ddddbd
Update adopters.md 2020-11-07 13:54:36 +03:00
alexey-milovidov
ca7ef4fb90
Update adopters.md 2020-11-07 13:50:23 +03:00
alexey-milovidov
7acfa7d407
Merge pull request #16728 from azat/enable-use_compact_format_in_distributed_parts_names-by-default
Enable use_compact_format_in_distributed_parts_names by default
2020-11-07 13:40:54 +03:00
alexey-milovidov
85d1f37dde
Update sumwithoverflow.md 2020-11-07 13:27:56 +03:00
annvsh
b36f9e97d8 Fixed 2020-11-07 12:44:22 +07:00
annvsh
ca3a1b15c2 Fixed 2020-11-07 12:37:34 +07:00
Azat Khuzhin
f379f9837d Document use_compact_format_in_distributed_parts_names setting
Since it has been enabled by default, at least it should be documented.
2020-11-06 21:02:44 +03:00
Maksim Kita
05ba70c91f Clickhouse client added history file parameter 2020-11-06 17:05:59 +03:00
gyuton
0d1fcd2f96
DOCSUP-3227: Documented the persistent setting (#16579)
* added description of disable_set_and_join_persistency setting.

* Changed setting name to persistent, added references about persistent to join table engine and set table engine

* Resolved conflict.

* Added reviewers suggestions

* Added translation for Russian.

* Fixed typos

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

Fixed minor stuff.

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

* Update settings.md

Updated translation.

* Fixed description and translation

* Fixed letter cases

Co-authored-by: George <gyuton@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-06 14:23:04 +03:00
alexey-milovidov
8b4aa78144
Merge pull request #16712 from den-crane/patch-6
Doc. BloomF index does not support like. Tokenbf_v1 supports like
2020-11-05 21:31:39 +03:00
Alain BERRIER
9dd0c7708e
fix: fix typo in array functions documentation 2020-11-05 16:23:23 +01:00
Denny Crane
771814bb85
Update mergetree.md
bloom does not support like
2020-11-05 11:07:24 -04:00
alexey-milovidov
caa1bf9bcd
Merge pull request #16687 from hrissan/hrissan/dev_instructions_gcc_9_to_gcc_10
Hrissan/dev instructions gcc 9 to gcc 10
2020-11-05 14:07:58 +03:00
alexey-milovidov
5954b7ec8b
Merge pull request #16570 from JacobHayes/add-farmfingerprint64
Add farmFingerprint64 function
2020-11-05 13:36:59 +03:00
Alexander Kuzmenkov
2a0d9da5e4 cleanup 2020-11-05 12:25:42 +03:00
Alexander Kuzmenkov
faf1f1e0cd Merge remote-tracking branch 'origin/master' into HEAD 2020-11-05 11:09:11 +03:00
myrrc
9788065786 Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-05 08:44:37 +03:00
damozhaeva
fa72fed4ad
DOCSUP-3173 Edit and translate to Russian (#16462)
* Edit and translate to Russian.

* v2 27.10

* other-functions

* 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: Daria Mozhaeva <dmozhaeva@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-04 22:17:02 +03:00
Alexey Milovidov
4c6819c26f Fix misleading info 2020-11-04 17:41:16 +03:00
alexey-milovidov
7986dbdfc7
Update ontime.md 2020-11-04 14:32:55 +03:00
myrrc
3d70ab7f3b Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-04 14:29:59 +03:00
filimonov
c7facedf10
Update clickhouse-copier.md 2020-11-04 12:02:30 +01:00
Kruglov Pavel
e7b4dce258
Remove inappropriate enum parsing mention 2020-11-04 13:20:32 +03:00
Grigory Buteyko
d99940b7f4 Development instructions updated to GCC 10 from GCC 9 2020-11-04 12:57:49 +03:00
alexey-milovidov
4fede5b008
Merge pull request #16438 from azat/errorCode-v2
Add errorCodeToName() and system.errors
2020-11-04 12:40:47 +03:00
alexey-milovidov
85d5c8edc5
Merge pull request #16515 from AnaUvarova/ana-uvarova-DOCSUP-2962-one-more-field-metric-log
DOCSUP-2962: one more field metric log
2020-11-04 12:30:02 +03:00
alexey-milovidov
691f0ec44c
Merge pull request #16534 from olgarev/revolg-DOCSUP-3043-document_the_null_function
DOCSUP-3043: Documented the null function
2020-11-04 12:20:20 +03:00
alexey-milovidov
1f323e98d1
Update null.md 2020-11-04 12:20:06 +03:00
alexey-milovidov
cf61c29a03
Update docs/en/sql-reference/table-functions/null.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-04 12:17:53 +03:00
alexey-milovidov
ec2ab4c51f
Merge pull request #16646 from sevirov/sevirov-DOCSUP-3849-document_max_concurrent_queries_for_all_users
DOCSUP-3849: Document the max_concurrent_queries_for_all_users setting
2020-11-04 11:26:18 +03:00
alexey-milovidov
0001fc244d
Update settings.md 2020-11-04 11:24:40 +03:00
alexey-milovidov
4fb31f8782
Merge pull request #16647 from gyuton/gyuton-DOCSUP-3535-document_the_reinterpretAsUUID_function
DOCSUP-3535: Documented the reinterpretAsUUID function
2020-11-04 11:19:30 +03:00
alexey-milovidov
788418b447
Update type-conversion-functions.md 2020-11-04 11:19:17 +03:00
alexey-milovidov
96d66a480f
Update type-conversion-functions.md 2020-11-04 11:18:50 +03:00
alexey-milovidov
26ff9a1184
Merge pull request #16649 from sevirov/sevirov-DOCSUP-3850-document_string_literal_support_interval
DOCSUP-3850: Document the string literal support in INTERVAL operator
2020-11-04 11:17:57 +03:00
Denny Crane
dea3641e5c
Update external-dicts-dict-layout.md 2020-11-03 20:47:42 -04:00
alexey-milovidov
973c1d7983
Merge pull request #16529 from azat/log_queries_min_time
Add log_queries_min_query_duration_ms
2020-11-04 01:47:18 +03:00
Dmitriy
3ea2047d8f Update index.md
Добавил описание возможности использования строкового литерала.
2020-11-04 01:46:52 +03:00
alexey-milovidov
8a3f38f332
Merge branch 'master' into errorCode-v2 2020-11-04 01:40:41 +03:00
alexey-milovidov
f4c3652e49
Merge pull request #16611 from elbryan/patch-1
Added Teralytics to adopters.md
2020-11-04 01:33:31 +03:00
George
aad09fc6f4 Added reinterpretAsUUID description 2020-11-03 22:53:09 +03:00
Evgenia Sudarikova
2fae1c3c31
DOCSUP-3171: Document the formatRowNoNewline function (#16603)
* add description in English

* minor changes

* changes in EN and added RU version
2020-11-03 18:59:21 +03:00
sevirov
993af08779
DOCSUP-1829: Update the system.columns table description (#16576)
* Update order-by.md

Задокументировал параметры OFFSET и FETCH.

* Update prewhere.md

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

* Update prewhere.md

Вернул изменения назад.

* Update order-by.md

Пытаюсь исправить битые ссылки.

* Update columns.md

Добавил position и compression_codec.

* Translation columns.md

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

* Delete changes order-by.md

Удалил изменения в файле order-by.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-11-03 18:36:25 +03:00
Azat Khuzhin
3be8a56f5c Add log_queries_min_query_duration_ms
Only queries slower then the value of this setting will go to system.query_log,
i.e. something like slow_query_log in mysql.

v2: log_queries_min_time renamed to log_queries_min_query_duration_ms
v3: add current_database into system.query_thread_log
v4: rewrite test using current_database
v5: fix query_duration_ms in system.query_thread_log
2020-11-02 21:34:54 +03:00
Fabiano Francesconi
347782966b
Added Teralytics to adopters.md
Added Teralytics to list of adopters.
2020-11-02 18:36:54 +01:00
damozhaeva
6db9ee4300
DOCSUP-3172: Edit and translate to Russian (#16153)
* Edit and traslate to Russian.

* Update docs/ru/engines/table-engines/integrations/kafka.md

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

* Update docs/ru/interfaces/http.md

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

* Update docs/ru/interfaces/http.md

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

* Ticket.

* http.

* kafka ru

Co-authored-by: Daria Mozhaeva <dmozhaeva@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-02 19:54:23 +03:00
sevirov
baa8958ad4
DOCSUP-1830: Describe the system.parts_columns table (#16531)
* Update order-by.md

Задокументировал параметры OFFSET и FETCH.

* Update prewhere.md

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

* Update prewhere.md

Вернул изменения назад.

* Update order-by.md

Пытаюсь исправить битые ссылки.

* Create parts_columns.md

Сделал описание системной таблицы parts_columns.

* Delete changes order-by.md

Удалил изменения файла, не относящегося к этой ветке.

* Update parts_columns.md

Исправил линки.

* Edit and translate russian parts_columns.md

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

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-11-02 19:32:43 +03:00
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
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
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
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