Commit Graph

39166 Commits

Author SHA1 Message Date
Alexander Tokmakov
1833ac7f16 fixes 2020-04-22 23:43:10 +03:00
Alexander Tokmakov
fefbbd37df Merge branch 'master' into database_atomic 2020-04-22 17:02:30 +03:00
Nikita Mikhaylov
7e61673758
Merge pull request #10440 from nikitamikhaylov/asan-mmap-failed
add ASAN_OPTIONS
2020-04-22 17:47:07 +04:00
Nikita Mikhaylov
f76c32fd6e add allocator_release_to_os_interval_ms 2020-04-22 16:15:24 +03:00
Nikita Mikhaylov
5b37658535 first try 2020-04-22 16:13:08 +03:00
Alexander Kuzmenkov
3b1334ee1b performance comparison 2020-04-22 16:11:46 +03:00
Ivan Blinkov
6ebf9911ab
fix docs build 2020-04-22 15:54:04 +03:00
Ivan Blinkov
b8645c5a7c
Adjust benchmark page caching + og:url/og:type/rel=canonical (#10439) 2020-04-22 15:40:30 +03:00
Ivan Blinkov
ab150f96a1
[website] get rid of remnants of old markup (from benchmark pages) (#10412)
* rm outdated nginx config

* get rid of most outdated markup of benchmark.html

* reformat js

* get rid of ru comments + wrap benchmark.js in a function call

* split benchmark results into separate files

* adjust links to benchmarks

* refactor hardware benchmarks as well

* adjust links

* fix filtering for hardware

* additional markup tuning
2020-04-22 14:30:33 +03:00
hcz
886e54f188
Improve translation of Chinese companies (#10430) 2020-04-22 10:24:26 +03:00
Fan()
19715ebb4c
Update index.md (#10428)
* Update index.md

Was it previously machine translated? There is no need to translate all English into Chinese

* Update index.md

* Update index.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-04-22 10:19:45 +03:00
BayoNet
52b6dc70fb
DOCS-355: gccMurmurHash (#10395)
* docs(gccMurmurHash):added the description of function

* docs(gccMurmurHash):some changes

* Update docs/en/sql_reference/functions/hash_functions.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/functions/hash_functions.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/functions/hash_functions.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* docs(gccMurmurHash):some changes

* docs(gccMurmurHash):added translation of the function description

* CLICKHOUSEDOCS-355: Little fix.

* Update docs/en/sql_reference/functions/hash_functions.md

Co-Authored-By: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>

* CLICKHOUSEDOCS-355: Updated example

Co-authored-by: asiana21 <asiana21@yandex-team.ru>
Co-authored-by: AsiaKorushkina <43650329+AsiaKorushkina@users.noreply.github.com>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2020-04-22 09:50:45 +03:00
alexey-milovidov
7065a8ba9c
Merge pull request #10422 from azat/fallback_to_stale_replicas-over-skip_unavailable_shards
Prefer fallback_to_stale_replicas over skip_unavailable_shards
2020-04-22 09:20:25 +03:00
alexey-milovidov
d8727fe233
Merge pull request #10427 from ClickHouse/fix-array-join-order-by-limit
Fix the issue when a query with ARRAY JOIN, ORDER BY and LIMIT may return incomplete result.
2020-04-22 08:53:47 +03:00
alexey-milovidov
20bf075de0
Merge pull request #10426 from ClickHouse/no-z3
Remove accidential dependency on Z3
2020-04-22 08:53:17 +03:00
Alexey Milovidov
e6acb35d95 Added a fix from Vadim Plakhtinskiy @VadimPlh 2020-04-22 07:32:05 +03:00
alexey-milovidov
eb0a1ec755
Merge pull request #10415 from azat/dict-load-after-detach-attach
Fix dictionary name (RELOAD and system.dictionaries) after DETACH/ATTACH
2020-04-22 06:57:08 +03:00
alexey-milovidov
7690c34e5b
Merge pull request #10424 from ClickHouse/tsv-bom-extra-case
Allow to parse BOM in TSV if the first column cannot contain BOM in its value
2020-04-22 06:56:43 +03:00
Alexey Milovidov
b205d7cdb2 Remove accidential dependency on Z3 2020-04-22 06:54:11 +03:00
Alexey Milovidov
0c9a2e8132 Fix test 2020-04-22 06:42:10 +03:00
Alexander Kuzmenkov
d1c5e38a21
Merge pull request #10385 from CurtizJ/tuple-literal
Parse tuples of tuples as literals
2020-04-22 05:49:14 +03:00
Alexander Kuzmenkov
627dfe103f performance comparison 2020-04-22 04:50:21 +03:00
Alexey Milovidov
0a9c49beee Added a test from @filimonov #9936 2020-04-22 03:48:03 +03:00
alexey-milovidov
98294dc9fa
Merge pull request #10421 from ClickHouse/max_server_memory_usage_as_server_level_setting
Make max_server_memory_usage server level setting.
2020-04-22 03:34:17 +03:00
alexey-milovidov
484de2abac
Merge pull request #10407 from qoega/negative_generate_random_tests
Add negative tests for randomGenerate
2020-04-22 03:31:14 +03:00
alexey-milovidov
91d9b26ab4
Merge pull request #10404 from ClickHouse/test_for_distributed_alter
Add test for alter on cluster
2020-04-22 03:30:55 +03:00
Alexey Milovidov
e8a9c7d518 Allow to parse BOM in TSV if the first column cannot contain BOM in its value 2020-04-22 02:46:42 +03:00
Alexey Milovidov
8df64543b7 Added a test from Mr.CHU @chu1070y #9270 2020-04-22 02:11:16 +03:00
Azat Khuzhin
e0f58b1ca1 Cover fallback_to_stale_replicas in conjunction with skip_unavailable_shards 2020-04-22 01:47:22 +03:00
alexey-milovidov
0754eb7e78
Merge pull request #10416 from 4ertus2/perf
Improve HashJoin memory usage
2020-04-22 01:44:46 +03:00
Azat Khuzhin
0cc9dbd35b Prefer fallback_to_stale_replicas over skip_unavailable_shards
Patch from: @alex-zaitsev
2020-04-22 01:42:23 +03:00
Alexey Milovidov
0482e2e3ea Implement suggestion from Sergey Veletsky 2020-04-22 01:40:18 +03:00
alexey-milovidov
fcf5c3c6e1
Merge pull request #10399 from ClickHouse/fix-distributed_group_by_no_merge-segfault
Fix segfault with distributed_group_by_no_merge
2020-04-22 01:28:02 +03:00
Alexey Milovidov
561702c264 Added a test from Konstantin Podshumok #9068 2020-04-22 01:20:05 +03:00
Alexander Kuzmenkov
1c997dcb7c performance comparison 2020-04-22 01:08:24 +03:00
Ivan
555488a458
Fix build in Arcadia (#10413) 2020-04-21 23:23:44 +03:00
Artem Zuikov
96b9edae29 fix comment 2020-04-21 22:09:18 +03:00
alesapin
8c18cec68a Fix path to integration test image 2020-04-21 22:04:31 +03:00
Artem Zuikov
17b0641b02 improve HashJoin memory usage 2020-04-21 22:01:34 +03:00
Alexey Milovidov
33338b722a Fix Mac OS #10246 2020-04-21 21:49:28 +03:00
Alexander Kuzmenkov
f2290bf2ee performance comparison 2020-04-21 21:46:45 +03:00
Azat Khuzhin
9173895f85 Fix dictionary name (RELOAD and system.dictionaries) after DETACH/ATTACH
After DETACH/ATTACH (or at server startup) the following will be broken:
- SYSTEM RELOAD DICTIONARY db_name.dict_name
- system.dictionaries will not have database for those dictionaries

The problem is that after DETACH/ATTACH the dictionary information is
obtained from metadata/$db/$dict.sql, but it does not have database
name.

Fix this by passing database name to the getDictionaryConfigurationFromAST().

Introduced-in: #10234
2020-04-21 21:03:12 +03:00
Azat Khuzhin
2fa933a73e Cover creating of dictionary without db name 2020-04-21 21:02:36 +03:00
Azat Khuzhin
6f6b198fb2 Cover dictionary loading after DETACH/ATTACH DATABASE
This is the case when the server is starting.
2020-04-21 21:02:36 +03:00
Denis Zhuravlev
1892596c4e
fix path to changelog 2018 2017 (#10408)
* fix path to changelog 2018

* fix path to changelog 2017
2020-04-21 20:58:46 +03:00
Yatsishin Ilya
1adf094810 add tests 2020-04-21 17:45:11 +03:00
alesapin
dec2e65aa5 Add test for alter on cluster 2020-04-21 16:47:00 +03:00
Anton Popov
3ccff833c1 fix ConstantExpressionTemplate with arrays 2020-04-21 15:54:36 +03:00
Ilya Yatsishin
0ca37c75fd
Merge pull request #10390 from ClickHouse/fix-flattening-of-array-tuples
Fix flattening of Array(Tuple(...)) data type.
2020-04-21 15:41:00 +03:00
alesapin
bc2200530f Fix PVS studio version 2020-04-21 15:19:38 +03:00