Commit Graph

3523 Commits

Author SHA1 Message Date
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
Tom Bombadil
2a040777ea
Update show.md
Translate to Chinese version.
2020-06-21 14:30:06 +08:00
Tom Bombadil
92dda14ddd
Update revoke.md
Translate the origin doc into Chinese.
2020-06-21 14:11:37 +08:00
Tom Bombadil
1b9e72f9ad
Update alter.md (#11823)
What a huge doc I have translated to Chinese!
2020-06-20 12:12:45 +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
Yuntao Wu
ab4f9d35fd
replacingmergetree translate into "替换合并树“ better (#11814) 2020-06-20 10:31:05 +03:00
Tom Bombadil
37f6616c0f
Update join.md (#11798)
optimize the original Chinese translation for the doc.
2020-06-20 09:50:53 +03:00
Tom Bombadil
338e0dc5a1
Update memory.md (#11800)
optimize doc translation
2020-06-20 09:50:00 +03:00
alexey-milovidov
7e7dd04b5c
Merge pull request #11787 from ClickHouse/blinkov-patch-20
Refresh distinctive-features.md with recent features
2020-06-20 08:27:38 +03:00
Ivan Blinkov
ec16eb36ec Merge branch 'benchmark-style-tuning' of github.com:blinkov/ClickHouse; branch 'master' of github.com:ClickHouse/ClickHouse into benchmark-style-tuning 2020-06-20 01:52:33 +03:00
Ivan Blinkov
5f09cee06d [website] tune benchmark pages styling + add extra checks 2020-06-20 00:09:45 +03:00
Alexander Kuzmenkov
288f217df3 Merge remote-tracking branch 'origin/master' into HEAD 2020-06-19 23:07:53 +03:00
Tom Bombadil
916ae64e42
Update roadmap.md (#11801)
Sync the doc content with the newest English version.
2020-06-19 19:42:51 +03:00
Tom Bombadil
6849b57f14
Update view.md (#11799)
correct the title
2020-06-19 19:09:06 +03:00
Andrey Kadochnikov
7fda93f923
Update replacingmergetree.md
removes confusion
2020-06-19 16:07:22 +03:00
Alexandr Kondratev
3cc829ace4
fix a typo in http interface doc (#11789) 2020-06-19 15:16:45 +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
Sergei Shtykov
5ce12d8d2b CLICKHOUSEDOCS-658: Minor fix. 2020-06-18 22:21:30 +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
Ilya Yatsishin
fe24c715ca
Merge pull request #11760 from ithangzhou/patch-6
Update jdbc.md
2020-06-18 21:55:08 +03:00
Ilya Yatsishin
e8481283b5
Merge pull request #11762 from ithangzhou/patch-8
Update generate.md
2020-06-18 21:54:50 +03:00
Ilya Yatsishin
68a137c156
Merge pull request #11761 from ithangzhou/patch-7
Update lazy.md
2020-06-18 21:54:31 +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
Tom Bombadil
42de5ac8f0
Update generate.md
provide Chinese version of the doc
2020-06-18 23:03:32 +08:00
Tom Bombadil
1292cddab5
Update lazy.md
optimize toc title for this doc
2020-06-18 22:42:10 +08:00
Tom Bombadil
b125ebd2c1
Update jdbc.md
translate the doc to  Chinese version.
2020-06-18 22:38:25 +08:00
Tom Bombadil
a541b51647
Update graphitemergetree.md
translate the doc to Chinese version
2020-06-18 22:27:43 +08: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
dependabot-preview[bot]
28e5e90f21
Bump requests from 2.23.0 to 2.24.0 in /docs/tools
Bumps [requests](https://github.com/psf/requests) from 2.23.0 to 2.24.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/master/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.23.0...v2.24.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-18 07:22:01 +00:00
alexey-milovidov
cb658d10aa
Update extended-roadmap.md 2020-06-18 08:00:55 +03:00
alexey-milovidov
5490e126d0
Update extended-roadmap.md 2020-06-18 07:29:09 +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
Ivan Blinkov
5c84f242dd
[blog] add integration with HackerNews and Reddit (#11728)
* improve tweet css

* add HN and Reddit share links

* update po

* Add support for HackerNews and Reddit
2020-06-17 15:12:05 +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
bluebirddm
42ff73eb00
Update versionedcollapsingmergetree.md (#11654)
* Update versionedcollapsingmergetree.md

简单翻译

* Update versionedcollapsingmergetree.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-15 21:43:06 +03:00
Yuntao Wu
4f8c7bcf78
update some errors (#11656)
collapse means “折叠” in Chinese
engine means “引擎” in Chinese when we are developing
2020-06-15 21:42:35 +03:00
Yuntao Wu
3f8d72c372
merge translates into "合并" better (#11659)
* merge translates into "合并" better

* Update index.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-15 21:41:31 +03:00
Tom Bombadil
a9599d0a37
Update index.md (#11674)
* Update index.md

optimize chinese-doc translation

* Update index.md

* Update index.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-15 21:40:20 +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
Alexander Kuzmenkov
0743e8c15d Merge remote-tracking branch 'origin/master' into minmap 2020-06-15 19:39: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
Tom Bombadil
4c100dcf8f
Update syntax.md (#11679)
translate to chinese doc
2020-06-15 17:10:23 +03:00
dependabot-preview[bot]
013c03a709
Bump googletrans from 2.4.0 to 3.0.0 in /docs/tools
Bumps [googletrans](https://github.com/ssut/py-googletrans) from 2.4.0 to 3.0.0.
- [Release notes](https://github.com/ssut/py-googletrans/releases)
- [Commits](https://github.com/ssut/py-googletrans/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 07:54:48 +00:00
Ivan Blinkov
eccd8d61dd
Update build.py 2020-06-15 10:13:29 +03:00
Yuntao Wu
f9431e8886
repacle means "替换‘’ or “代替” in Chinese 2020-06-14 11:17:51 +08: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
Tom Bombadil
09a37db2a3
Update clickhouse-benchmark.md (#11619)
* Update clickhouse-benchmark.md

Optimize doc translation for  Simplized-Chinese version,author by TomBombadil

* Update clickhouse-benchmark.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-13 05:48:50 +03:00
Tom Bombadil
558912be7d
Update lazy.md (#11620)
* Update lazy.md

Optimize the doc translation for Simplified-Chinese version.

* Update lazy.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-13 05:47:23 +03: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
Alexander Kuzmenkov
fba79526c4
Merge pull request #11600 from ClickHouse/blinkov-patch-20
Avoid logging error as a warning
2020-06-11 23:54:41 +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
e5edd472d6
Avoid logging error as a warning 2020-06-11 16:01: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