Commit Graph

4291 Commits

Author SHA1 Message Date
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
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
Dmitriy
08e523d5de Update settings.md
Добавил описание настройки max_concurrent_queries_for_all_users.
2020-11-01 17:58:37 +03: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
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
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
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