Commit Graph

2347 Commits

Author SHA1 Message Date
alexey-milovidov
4c12f057f6
Merge pull request #11772 from BayoNet/docs/CLICKHOUSEDOCS-658-mv-block-settings
DOCS-658: Materialized views block settings
2020-06-21 17:58:51 +03:00
Azat Khuzhin
fb30629ff2 Add settings to control nesting level for shards skipping optimization
- optimize_skip_unused_shards_nesting (allows control nesting level for
  shards skipping optimization)
- force_skip_optimize_shards_nesting (allows control nesting level for
  checking was shards skipped or not)
- deprecates force_skip_optimize_shards_no_nested
2020-06-21 15:27:01 +03:00
alexey-milovidov
5094a68157
Merge pull request #11793 from kas-kad/patch-2
Update replacingmergetree.md
2020-06-21 14:15:32 +03:00
Azat Khuzhin
caa195c034 Add number of errors to ignore while choosing replicas (distributed_replica_max_ignored_errors)
This will allow avoid switching to another replica in case of error
(since error can be temporary).
2020-06-20 11:20:16 +03:00
alexey-milovidov
32c7ff7d2c
Update create.md 2020-06-20 10:33:41 +03:00
alexey-milovidov
8139ce5985
Update create.md 2020-06-20 10:32:33 +03:00
Alexander Kuzmenkov
288f217df3 Merge remote-tracking branch 'origin/master' into HEAD 2020-06-19 23:07:53 +03:00
Andrey Kadochnikov
7fda93f923
Update replacingmergetree.md
removes confusion
2020-06-19 16:07:22 +03:00
Ivan Blinkov
9ac27ba013
Refresh distinctive-features.md with recent features 2020-06-19 14:21:52 +03:00
Ivan Blinkov
98d8168f05
Update distinctive-features.md 2020-06-19 13:31:21 +03:00
Ivan Blinkov
930b5852fa
Update in-functions.md 2020-06-19 13:21:51 +03:00
Ivan Blinkov
d3524e3c96
Update geo.md 2020-06-19 13:21:39 +03:00
Ivan Blinkov
05aa835a74
Update functions-for-nulls.md 2020-06-19 13:21:15 +03:00
Ivan Blinkov
bc2e84c7fb
Update machine-learning-functions.md 2020-06-19 13:20:23 +03:00
Ivan Blinkov
d2624d4543
Update ym-dict-functions.md 2020-06-19 13:18:21 +03:00
Ivan Blinkov
b353ce8442
Update ext-dict-functions.md 2020-06-19 13:17:00 +03:00
Ivan Blinkov
87bd70840a
Update json-functions.md 2020-06-19 13:16:30 +03:00
Ivan Blinkov
a6eeedca25
Update ip-address-functions.md 2020-06-19 13:16:08 +03:00
Ivan Blinkov
fa0e2461e7
Update url-functions.md 2020-06-19 13:15:32 +03:00
Ivan Blinkov
8b98553235
Update uuid-functions.md 2020-06-19 13:14:58 +03:00
Ivan Blinkov
b3dc44be34
Update random-functions.md 2020-06-19 13:13:13 +03:00
Ivan Blinkov
117690c70c
Update random-functions.md 2020-06-19 13:12:59 +03:00
Ivan Blinkov
36453337dd
Update array-functions.md 2020-06-19 13:11:29 +03:00
Ivan Blinkov
70034b6232
Update string-replace-functions.md 2020-06-19 13:10:51 +03:00
Ivan Blinkov
cd0e49e9c9
Update string-search-functions.md 2020-06-19 13:10:23 +03:00
Ivan Blinkov
967235edab
Update string-functions.md 2020-06-19 13:09:45 +03:00
Ivan Blinkov
f856e2576c
Update string-search-functions.md 2020-06-19 13:08:10 +03:00
Ivan Blinkov
a620d597a3
Update string-search-functions.md 2020-06-19 13:05:38 +03:00
Ivan Blinkov
6274506cff
Update string-functions.md 2020-06-19 13:05:00 +03:00
Ivan Blinkov
53c1cb9848
Update date-time-functions.md 2020-06-19 13:04:32 +03:00
BayoNet
d29e1ce986
DOCS-602: transform_null_in (#11734)
* Revolg DOCSUP-996 Document the transform_null_in setting (#124)

* Add doc for transform_null_in setting

* Apply suggestions from code review

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

* Add doc for the transform_null_in setting (ru)

* Add transform_null_in setting (ru). Anchor fixed

* Add doc for the transform_null_in setting (ru,en). Misspell fixed, anchor fixed.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* CLICKHOUSEDOCS-602: Updated text.

* Deleted symlink to IN operator.

* CLICKHOUSEDOCS-602: Fixed links.

* CLICKHOUSEDOCS-602: Updated the description.

* CLICKHOUSEDOCS-602: Updated by comments.

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-06-19 12:18:57 +03:00
Sergei Shtykov
13f8c588de Merge branch 'master' of github.com:ClickHouse/ClickHouse into docs/CLICKHOUSEDOCS-658-mv-block-settings 2020-06-18 22:24:17 +03:00
Evgenia Sudarikova
d0cfa35ab0
DOCSUP-1316 (#122)
* add EN version

* change links in EN version

* changes after review

* add RU description

* minor changes
2020-06-18 22:11:47 +03:00
Azat Khuzhin
6507247328 optimize_skip_unused_shards=2 will disable it for nested distributed queries
P.S. Looks like settings can be converted between SettingUInt64 and
SettingBool without breaking binary protocol.

FWIW maybe it is a good idea to change the semantics of the settings as
follow (but I guess that changing semantic is not a good idea, better to
add new settings and deprecate old ones):
- optimize_skip_unused_shards -- accept nesting level on which the
  optimization will work
- force_skip_optimize_shards_nesting -- accept nesting level on which
  the optimization will work
2020-06-18 21:49:29 +03:00
Ivan Blinkov
7170f3c534
[docs] split aggregate function and system table references (#11742)
* prefer relative links from root

* wip

* split aggregate function reference

* split system tables
2020-06-18 11:24:31 +03:00
BayoNet
77759df635
[CLICKHOUSEDOCS] Translate Custom HTTP handlers with prepared queries (#126) (#11738)
* literacy checking

* ru translation

* 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>

* 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>

* Update http.md

* Update http.md

Co-authored-by: Anna Devyatova <annadevyatova@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
Co-authored-by: Anna Devyatova <annadevyatova@yandex-team.ru>
2020-06-18 00:41:05 +03:00
Ivan Blinkov
6dfb0dd5bb
trigger ci 2020-06-17 20:44:45 +03:00
Nikita Mikhaylov
ff0262626a
Merge pull request #11645 from azat/load-balancing-round-robin
Add round_robin load_balancing
2020-06-17 14:34:59 +04:00
Nikita Mikhaylov
ab04a6bb62
Merge pull request #11615 from azat/SYSTEM-FLUSH-LOGS-force-table-creation-v2
Force table creation on SYSTEM FLUSH LOGS (v2)
2020-06-17 11:09:19 +04:00
Alexander Kuzmenkov
9cab822718
Merge pull request #11683 from ClickHouse/aku/merge-minmap-11603
Merge minMap, maxMap (#11603)
2020-06-17 00:02:33 +03:00
filimonov
1f1f70041b
Remove note about experimental from skipping indexes docs (#11704)
https://github.com/ClickHouse/ClickHouse/pull/7974
2020-06-16 22:07:22 +03:00
Ivan Blinkov
7e2bb1fd83 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-16 16:02:55 +03:00
Ivan Blinkov
0e77692a27 improvements after review comments 2020-06-16 15:56:28 +03:00
Ivan Blinkov
9a26d48ad0
Basic blog similar to docs (#11609)
* Basic blog similar to docs

* rename post

* no post content in post_meta

* update readme and template

* more "en" content

* complete "en" content

* build blog redirects

* redirects for migration

* link sitemaps

* update po

* add "ru" content

* ru redirects

* remove old domain mentions

* adjust styles

* content improvements

* +1 alt

* use main images from CDN

* use re-hosted in-content images

* extra vertical margin around embedded youtube

* minor improvements

* adjust post page

* adjust html meta

* adjust post page

* improve blog rendering
2020-06-16 09:31:00 +03:00
Bharat Nallan
09e3975b97 docs for max_thread_pool_size
This adds the docs for the new server level setting
`max_thread_pool_size`.
2020-06-15 22:04:30 -07:00
BayoNet
f0eafed520
DOCS-678: Updated ASOF Join description (#11676)
* CLICKHOUSEDOCS-678: Updated ASOF Join Usage.

* CLICKHOUSEDOCS-678: Updated templates.

* Update docs/ru/sql-reference/statements/select/join.md

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

* CLICKHOUSEDOCS-678: Update by comments.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: emironyuk <em@don.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-15 21:55:04 +03:00
BayoNet
1474dd6d69
DOCS-646: randomString (#11610)
* [CLICKHOUSEDOCS] Document the "randomString" function (#121)

* Add description of randomString function

* Add description for randomString

* Update docs/en/sql-reference/functions/other-functions.md

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

* Update docs/en/sql-reference/functions/other-functions.md

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

* Changed example

* Add russian version

* Fixed links

* Fixed links

Co-authored-by: Anna Devyatova <annadevyatova@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* CLICKHOUSEDOCS-646: Updated text. Fixed links.

* CLICKHOUSEDOCS-646: Fixed more links.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
Co-authored-by: Anna Devyatova <annadevyatova@yandex-team.ru>
2020-06-15 21:44:05 +03:00
Alexander Kuzmenkov
82b5ada130
Merge pull request #11650 from ksvladimir/master
Allow using groupArrayArray and groupUniqArrayArray as SimpleAggregateFunction
2020-06-15 21:29:57 +03:00
long2ice
6e18001bd8
add mysql2ch in docs (#11680)
* add mysql2ch

add mysql2ch

* Update integrations.md

* Update integrations.md

* Update integrations.md

* Update integrations.md

* Update integrations.md

* Update integrations.md

* Update integrations.md
2020-06-15 18:25:13 +03:00
Alexander Kuzmenkov
6af27d6c32
Update simpleaggregatefunction.md 2020-06-15 18:22:11 +03:00
Azat Khuzhin
0e378590fe Add load_balancing=round_robin 2020-06-14 01:09:21 +03:00
Ildus Kurbangaliev
01d903c60d add minMap and maxMap functions 2020-06-13 08:49:00 +00:00
Ivan Blinkov
e98a91e9f7 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-12 16:53:00 +03:00
zzsmdfj
a2ed8d70a7
update zh-docs-aggregate-functions (#11623) 2020-06-12 14:03:01 +03:00
Azat Khuzhin
103eb17107 Force table creation on SYSTEM FLUSH LOGS (v2)
After this patch SYSTEM FLUSH LOGS will force system.*_log table
creatoins (only for enabled tables of course).

This will avoid such hacks like:

   set log_queries=1;
   select 1;
   system flush logs;

This is the second version of the patch, since first has a deadlock [1]
(reported by @alesapin). This version does not use separate lock and do
not issue CREATE TABLE from the query execution thread, instead it
activate flushing thread to do so, hence this should be the same as if
the table will be created during flush.

  [1]: https://gist.github.com/alesapin/d915d1deaa27d49aa31223daded02be2

Fixes: #11563
Cc: @alesapin
Cc: @nikitamikhaylov
2020-06-11 23:12:23 +03:00
alesapin
225380f849
Merge pull request #11586 from blinkov/repo-links
Update remaining links to old repo without CDN
2020-06-11 16:40:53 +03:00
Alexander Kuzmenkov
e354bbc78c
Merge pull request #11588 from ClickHouse/aku/async-log
Add system.asynchronous_metric_log
2020-06-11 16:10:35 +03:00
Ivan Blinkov
b70ed921ea Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-11 12:22:13 +03:00
Ivan Blinkov
cbc08bc393
Update index.md 2020-06-11 01:23:04 +03:00
Ivan Blinkov
6fa6439c69
fix link 2020-06-11 00:57:53 +03:00
Ivan Blinkov
f433ffaec6
Update index.md 2020-06-10 23:49:37 +03:00
Ivan Blinkov
b5b3cb1c05
Update index.md 2020-06-10 23:48:54 +03:00
Ivan Blinkov
14cda2d1db
Update file.md 2020-06-10 23:22:56 +03:00
Ivan Blinkov
ba57fbaa20
Update merge.md 2020-06-10 23:21:42 +03:00
Ivan Blinkov
5084496ca0
Update dictionary.md 2020-06-10 23:20:54 +03:00
Ivan Blinkov
139d357892
Update external-data.md 2020-06-10 23:19:58 +03:00
Ivan Blinkov
f5b7665271
Update distributed.md 2020-06-10 23:18:36 +03:00
Ivan Blinkov
7d5a1ea485
Update null.md 2020-06-10 23:16:54 +03:00
Ivan Blinkov
06ba3bc480
Update set.md 2020-06-10 23:14:51 +03:00
Ivan Blinkov
33d4ed893a
Update join.md 2020-06-10 23:14:00 +03:00
Ivan Blinkov
ceb34f352e
Update url.md 2020-06-10 23:11:41 +03:00
Ivan Blinkov
79120387a4
Update view.md 2020-06-10 23:09:39 +03:00
Ivan Blinkov
8be01aae1d
Update materializedview.md 2020-06-10 23:08:56 +03:00
Ivan Blinkov
d4daa006f9
Update memory.md 2020-06-10 23:08:20 +03:00
Ivan Blinkov
38347cde2e
Update buffer.md 2020-06-10 23:07:17 +03:00
Ivan Blinkov
6ad0f240ce
Update generate.md 2020-06-10 23:05:22 +03:00
Denis Zhuravlev
941887fbfd
removed a sentence about global lock during rename (#11577)
* Update misc.md

removed a sentence about global lock during rename

* Update misc.md

removed a sentence about global lock during rename

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

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

* Update docs/ru/sql-reference/statements/misc.md

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

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-10 22:31:51 +03:00
Alexander Kuzmenkov
e4be52f35f Add system.asynchronous_metric_log 2020-06-10 22:17:54 +03:00
Denis Zhuravlev
5f5f10b48a
greatCircleAngle en translation (#11584)
* greatCircleAngle en translation

* Update geo.md

* Update geo.md
2020-06-10 21:59:17 +03:00
Ivan Blinkov
3d9424fd5a perl -pi -e 's/repo\.yandex\.ru\/clickhouse/repo.clickhouse.tech/g' {} 2020-06-10 21:54:55 +03:00
Ivan Blinkov
f5b8e61046
Update configuration-files.md 2020-06-10 21:04:47 +03:00
Fan()
e144e78b31
Update clickhouse-copier.md (#11558) 2020-06-10 18:30:33 +03:00
Ivan Blinkov
b3dad4c3a6
Update odbc.md 2020-06-10 18:16:29 +03:00
Mikhail f. Shiryaev
7f09bb8264
Replase back/forward quotes and apostrophes by straight 2020-06-10 12:52:41 +02:00
Ivan Blinkov
90ee4d52f4 merge master 2020-06-10 13:18:41 +03:00
Alexander Tokmakov
6bb68329f8 Merge branch 'master' into merging_external_source_cassandra 2020-06-09 19:51:14 +03:00
Ivan Blinkov
6f7064928f Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-09 19:07:57 +03:00
vxider
f011ca02cf
fix punctuation (#11553) 2020-06-09 18:52:53 +03:00
alex-zaitsev
af850c8123
Fixed function compatibility matrix for 'like' (#11545)
* Fixed function compatibility matrix for 'like'

Bloom filters support 'like' for positive searches, and do not support 'notLike' for negative ones. There is a note under the table but the table itself was inconsistent.

* Update docs/en/engines/table-engines/mergetree-family/mergetree.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-09 14:14:05 +03:00
Ivan Blinkov
5b3fef526e Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-09 11:51:29 +03:00
S.M.A. Djawadi
42acb627fb
Fix typo (#11521) 2020-06-08 19:34:16 +03:00
Eugene Klimov
dfa60e01a0
add SYSTEM STOP/START FETCHES and SYNC REPLICA description (#11444)
* add SYSTEM STOP/START FETCHES and SYNC REPLICA description

Signed-off-by: Slach <bloodjazman@gmail.com>

* fix russian verion

Signed-off-by: Slach <bloodjazman@gmail.com>

* fix typo

Signed-off-by: Slach <bloodjazman@gmail.com>

* add START/STOP REPLICATED SENDS description

Signed-off-by: Slach <bloodjazman@gmail.com>

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

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

* sync russian and english version

Signed-off-by: Slach <bloodjazman@gmail.com>

* add SYSTEM START/STOP REPLICATION QUEUES

Signed-off-by: Slach <bloodjazman@gmail.com>

* add SYSTEM RESTART REPLICA

Signed-off-by: Slach <bloodjazman@gmail.com>

* add all missed SYSTEM statement descriptions

Signed-off-by: Slach <bloodjazman@gmail.com>

* fix missed link

Signed-off-by: Slach <bloodjazman@gmail.com>

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-08 18:23:13 +03:00
zzsmdfj
174b687a44
update zh-docs-functions (#11464) 2020-06-08 08:29:08 +03:00
BayoNet
e9b7919e12
DOCS-271: Updated the MergeTree() ORDER BY description (#11433)
* CLICKHOUSEDOCS-271: Updated the MergeTree() ORDER BY description.

* CLICKHOUSEDOCS-271: Fixes grammar.

* CLICKHOUSEDOCS-271: Updated by comments.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-06-06 20:44:48 +03:00
Ivan Blinkov
653a9afda0 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-05 22:51:28 +03:00
BayoNet
905c58b9ac
DOCS-625: system.query_thread_log (#11437)
* DOCSUP-1041 query_thread_log table description was updated according the example. (#119)

* This file was edited according to the DOCSUP-1041. Text was ordered with example, links and missed information were added.

* Editing using comments.

* Edited according connected merge.

* Seems to be pre-last changes.

* CLICKHOUSEDOCS-625: Updated text.

* Table query_thread_log description  was translated to russian. (#120)

* CLICKHOUSEDOCS-625: query_thread_log

* CLICKHOUSEDOCS-625: Fixed text.

* CLICKHOUSEDOCS-625: Updated text by comments.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: AnaUvarova <64017504+AnaUvarova@users.noreply.github.com>
2020-06-05 12:59:21 +03:00
Vladimir Golovchenko
fe89a667d7 Fixed wrong links in 'developer-instruction.md'.
Please enter the commit message for your changes. Lines starting
2020-06-04 15:05:55 -07:00
alexey-milovidov
7cdcf575e1
Update backup.md 2020-06-04 21:21:10 +03:00
Filipe Caixeta
9e0823f9e0
Make clear how to restore a backup 2020-06-04 13:12:37 -03:00
Alexander Tokmakov
e67837bc4a cleenup 2020-06-04 00:11:17 +03:00