alesapin
c96a2b4f22
Merge pull request #14444 from ClickHouse/fix_select_parts_for_merge
...
Fix select parts for merge
2020-09-04 09:55:48 +03:00
alexey-milovidov
54ede2e1bb
Merge pull request #14467 from ClickHouse/topk-check-overflow
...
Check for array size overflow in topK
2020-09-04 09:15:33 +03:00
alexey-milovidov
32b39eaeb1
Merge pull request #14458 from ClickHouse/website-fix-bugs
...
Website fix bugs
2020-09-04 09:15:21 +03:00
alexey-milovidov
9167846cc7
Merge pull request #14457 from ClickHouse/allow-to-test-website
...
Provide a way to quickly test the website
2020-09-04 09:14:49 +03:00
alexey-milovidov
d623048dd1
Merge pull request #14454 from amosbird/im1
...
Remove redundant conditions
2020-09-04 09:14:35 +03:00
alexey-milovidov
4807b1e5bc
Merge pull request #14462 from ClickHouse/simplify-mutations-tests
...
Simplify mutations tests
2020-09-04 09:14:13 +03:00
Alexey Milovidov
1cee6d5a31
Check for array size overflow in topK #14452
2020-09-04 04:05:57 +03:00
alexey-milovidov
12a21cb1a4
Merge pull request #14440 from matwey/fix/missed-atomic
...
Add missed #include <atomic>
2020-09-04 03:47:15 +03:00
alexey-milovidov
300bdc07b0
Merge pull request #14460 from azat/sysv-init-systemd-compatibility
...
Proxy restart/start/stop/reload of SysVinit to systemd (if it is used)
2020-09-04 03:05:44 +03:00
Alexey Milovidov
0e53cd26a0
Simplify tests for mutations
2020-09-04 02:28:44 +03:00
Alexey Milovidov
40ad23245c
Fix flaky test 00944_clear_index_in_partition
2020-09-04 02:12:30 +03:00
alexey-milovidov
4f9df21d3e
Merge pull request #10373 from azat/dist-SELECT-optimization
...
Optimize queries with LIMIT/LIMIT BY/ORDER BY for distributed with GROUP BY sharding_key
2020-09-04 01:38:56 +03:00
Azat Khuzhin
3678d3256a
debian/clickhouse-server.init: systemd proxying for restart/start/stop/reload
2020-09-04 00:54:50 +03:00
Azat Khuzhin
b4a1f59ada
debian/clickhouse-server.init: remove is_supported_command
2020-09-04 00:43:15 +03:00
Alexey Milovidov
cc2821343c
Fix bug on the website
2020-09-04 00:05:55 +03:00
Alexey Milovidov
f770044066
Fix typo on the website
2020-09-03 23:41:07 +03:00
Alexey Milovidov
10798e1780
Provide a way to quickly test the website
2020-09-03 23:37:45 +03:00
Ivan Blinkov
311e789ad2
Update README.md
2020-09-03 22:15:44 +03:00
Amos Bird
3817c0efa7
Remove redundant conditions
2020-09-04 02:13:57 +08:00
Alexander Kuzmenkov
29b97ff259
Merge pull request #14430 from ClickHouse/aku/perf4
...
[wip] perf experiment no.4 -- geomean
2020-09-03 21:13:07 +03:00
olgarev
9851cd9a26
Minor update in English text and translation into Russian. ( #14240 )
...
Co-authored-by: Olga Revyakina <revolg@yandex.ru>
2020-09-03 21:11:46 +03:00
robot-clickhouse
fbf06f9858
Update version_date.tsv after release 20.6.5.8
2020-09-03 20:05:18 +03:00
alesapin
bd24c3a059
Fix build useless binary
2020-09-03 17:38:56 +03:00
Vitaly Baranov
dda884d6d0
Update AccessControlManager.h
...
Add "override" for the destructor of AccessControlManager
2020-09-03 17:20:14 +03:00
alesapin
55adb6f9f2
Update src/Storages/MergeTree/MergeSelector.h
...
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2020-09-03 16:55:34 +03:00
alexey-milovidov
6a32d30578
Merge pull request #14431 from ClickHouse/fix-lazy-database
...
Fix for Lazy database
2020-09-03 16:38:59 +03:00
alesapin
e48e4309b2
Better names
2020-09-03 16:29:18 +03:00
alesapin
5ccf78ccff
Simplier test
2020-09-03 16:08:45 +03:00
alesapin
565555e55c
Fix bug in parts selection
2020-09-03 16:04:28 +03:00
alesapin
4519b4308c
Fix default tag for base image
2020-09-03 16:03:26 +03:00
Ilya Yatsishin
2b8ad576cc
Merge pull request #14323 from qoega/try-dns-fix
...
Add tag pass for integration base image. Add explicit dns options for docker-compose.
2020-09-03 11:27:24 +03:00
alexey-milovidov
821add088e
Fix backport script; read the code ( #14433 )
2020-09-03 09:57:01 +03:00
alexey-milovidov
9e4aa5954e
Update 00184_shard_distributed_group_by_no_merge.sql
2020-09-03 04:46:45 +03:00
alexey-milovidov
06edd217db
Update 01247_optimize_distributed_group_by_sharding_key.sql
2020-09-03 04:46:12 +03:00
alexey-milovidov
722e1bb81f
Update 01247_optimize_distributed_group_by_sharding_key_dist_on_dist.sql
2020-09-03 04:45:36 +03:00
alexey-milovidov
edea940e17
Update StorageDistributed.cpp
2020-09-03 04:39:36 +03:00
Alexey Milovidov
96038e9d54
Fix for Lazy database
2020-09-03 04:06:12 +03:00
Alexander Kuzmenkov
8e8e195e45
geomean
2020-09-03 03:58:40 +03:00
alexey-milovidov
123c12e895
Merge pull request #14426 from ClickHouse/less-number-of-threads-in-builder
...
Less number of threads in builder
2020-09-03 02:24:57 +03:00
alexey-milovidov
c323115fb1
Merge branch 'master' into less-number-of-threads-in-builder
2020-09-03 02:24:50 +03:00
Alexey Milovidov
b3addcd5ca
Fix error
2020-09-03 02:24:03 +03:00
alexey-milovidov
d7983f0c2a
Merge pull request #14256 from dmthuc/fix_build_for_AppleClang
...
Fix build for AppleClang
2020-09-03 01:38:25 +03:00
alexey-milovidov
1c2435d4f7
Merge pull request #14233 from amosbird/apply
...
Introduce columns transformers.
2020-09-03 01:37:40 +03:00
alexey-milovidov
72417d2716
Merge pull request #14368 from BohuTANG/materialize_mysql_query_filter_1
...
change string.rfind to string starts_with and add some tests
2020-09-03 01:09:53 +03:00
alexey-milovidov
fe2ad36590
Merge pull request #14421 from ClickHouse/revert-14362-less-number-of-threads-in-builder
...
Revert "Less number of threads in builder"
2020-09-03 01:00:53 +03:00
alexey-milovidov
4b1b744644
Revert "Less number of threads in builder"
2020-09-03 01:00:41 +03:00
Azat Khuzhin
776688acc2
Add documentation for optimize_distributed_group_by_sharding_key
2020-09-03 00:54:11 +03:00
Azat Khuzhin
5e71fe3f39
Add a test for distributed_group_by_no_merge=2
2020-09-03 00:54:11 +03:00
Azat Khuzhin
fffeeeba06
Force WithMergeableStateAfterAggregation via distributed_group_by_no_merge (convert to UInt64)
...
Possible values:
- 1 - Do not merge aggregation states from different servers for distributed query processing - in case it is for certain that there are different keys on different shards.
- 2 - same as 1 but also apply ORDER BY and LIMIT stages
2020-09-03 00:52:51 +03:00
Azat Khuzhin
10b4f3b41f
Optimize queries with LIMIT/LIMIT BY/ORDER BY for distributed with GROUP BY sharding_key
...
Previous set of QueryProcessingStage does not allow to do this.
But after WithMergeableStateAfterAggregation had been introduced the
following queries can be optimized too under
optimize_distributed_group_by_sharding_key:
- GROUP BY sharding_key LIMIT
- GROUP BY sharding_key LIMIT BY
- GROUP BY sharding_key ORDER BY
And right now it is still not supports:
- WITH TOTALS (looks like it can be supported)
- WITH ROLLUP (looks like it can be supported)
- WITH CUBE
- SETTINGS extremes=1 (looks like it can be supported)
But will be implemented separatelly.
vX: fixes
v2: fix WITH *
v3: fix extremes
v4: fix LIMIT OFFSET (and make a little bit cleaner)
v5: fix HAVING
v6: fix ORDER BY
v7: rebase against 20.7
v8: move out WithMergeableStateAfterAggregation
v9: add optimize_distributed_group_by_sharding_key into test names
2020-09-03 00:52:51 +03:00