Commit Graph

4428 Commits

Author SHA1 Message Date
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
OuO
037e5a51a3
update docs/zh/commercial/support.md 2020-11-12 14:43:27 +08:00
feng lv
b7e5c6ed4d fix conflict 2020-11-12 02:26:21 +00:00
Kang Liu
94c5f389ed
Update build-osx.md
Correct the filename and the path translated in Chinese for "limit.maxfiles.plist"
2020-11-12 09:36:51 +08: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
sundyli
5ef809931e
Merge branch 'master' into storage-rocksdb 2020-11-12 08:26:27 +08:00
Mikhail Filimonov
f4e44e63b0
Remove timeSeriesGroupRateSum from docs 2020-11-11 18:35:48 +01:00
alexey-milovidov
5d50d9c892
Merge pull request #16858 from mapan1984/patch-3
Update docs/zh/operations/tips.md to make it more human readable
2020-11-11 18:00:03 +03:00
alexey-milovidov
9dca0a096b
Merge pull request #16864 from aihai/patch-2
engine name should not be translated.
2020-11-11 17:57:50 +03:00
heng zhao
66a4581485
Update log.md
engine name should not be translated.
2020-11-11 18:03:48 +08:00
heng zhao
fae862f2c3
Update index.md
fix mis-spellings
2020-11-11 17:51:27 +08:00
OuO
d948bbd15c
Update tips.md 2020-11-11 15:46:29 +08:00
OuO
c07f55bd56
update backup.md to make it more human readable 2020-11-11 11:55:08 +08: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
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
alexey-milovidov
6eda689aa3
Update adopters.md 2020-11-08 00:55:34 +03:00
alexey-milovidov
c69c1a299a
Update buffer.md 2020-11-07 22:39:35 +03:00
ArtCorp
031dc41668
Inconvenient navigation
Hi, I think more links are needed.
2020-11-07 16:14:52 +04: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
e8897e1fc5
Merge pull request #16731 from sevirov/sevirov-DOCSUP-3850-document_string_literal_support_interval
DOCSUP-3850: Document the string literal support in INTERVAL operator
2020-11-06 12:42:08 +03:00
Ilya Yatsishin
3c934c2c53
Merge pull request #16730 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-06 11:42:08 +03:00
Dmitriy
e01b220cd8 Update index.md
Выполнил перевод на русский язык.
2020-11-06 00:44:56 +03:00
Dmitriy
b2a872b035 Update settings.md
Удалил изменения в своем репозитории в английской версии.
2020-11-05 23:54:37 +03:00
Dmitriy
16c048cacd Update settings.md
Выполнил перевод на русский язык описания настройки max_concurrent_queries_for_all_users.
2020-11-05 23:44:36 +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
Denny Crane
9b8da816d2
Update mergetree.md
tokenbf_v1 supports like
2020-11-05 11:05:56 -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
dependabot-preview[bot]
52463063fc
Bump mkdocs-macros-plugin from 0.4.17 to 0.4.20 in /docs/tools
Bumps [mkdocs-macros-plugin](https://github.com/fralau/mkdocs_macros_plugin) from 0.4.17 to 0.4.20.
- [Release notes](https://github.com/fralau/mkdocs_macros_plugin/releases)
- [Commits](https://github.com/fralau/mkdocs_macros_plugin/commits/v0.4.20)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-05 06:07:36 +00:00
myrrc
9788065786 Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-05 08:44:37 +03:00
Grigory Buteyko
6b5c30ecf2 reverted tiny mistake added in previous commit. More reference to GCC 9 replaced 2020-11-05 01:36:05 +03:00
Dmitriy
0e0b154d24 Update settings.md
Внес поправки согласно комментариям ревьюера.
2020-11-04 23:07:56 +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
5b9d48c715 Remove garbage from docs 2020-11-04 17:39:18 +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
alexey-milovidov
8a897753b1
Merge pull request #16650 from den-crane/patch-1
Russian doc for toUUIDOrNull toUUIDOrZero.
2020-11-04 11:16:59 +03:00
Denny Crane
e945e256bb
Update external-dicts-dict-layout.md 2020-11-03 20:57:14 -04:00
Denny Crane
52f3ef01d4
Update external-dicts-dict-layout.md 2020-11-03 20:55:54 -04:00
Denny Crane
dea3641e5c
Update external-dicts-dict-layout.md 2020-11-03 20:47:42 -04:00
Denny Crane
6c37133f2c
Update uuid-functions.md
Russian doc for toUUIDOrNull toUUIDOrZero.
2020-11-03 20:05:06 -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
Yingchun Lai
5d2c3d177e
Update query_log.md 2020-11-03 15:53:44 +08: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
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