Commit Graph

4451 Commits

Author SHA1 Message Date
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
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