amudong
2a51286527
Optimize code
2020-06-23 16:22:53 +08:00
amudong
0101947403
rewrite static StorageReplicatedMergeTree::dropReplica
2020-06-23 12:12:30 +08:00
amudong
7723dc4935
add drop relica database and the whole replica
...
fix removeReplicaByZKPath
fix bug: add zkpath empty judge
fix: rewrite code
delete useless code.
fix:ast fromat
fix bug
add test_drop_replica
add drop_replica doc
add drop databse checkAccess
refactor dropReplica
update tests
add static method StorageReplicatedMergeTree::dropReplicaByZkPath
update doc and delete useless code
fix conflict
fix doc
fix doc
fix StorageReplicatedMergeTree::dropReplica
fix bug
delete useless code
2020-06-23 12:12:30 +08:00
amudong
2e6a3eff8e
fix: can not drop local table and replace ALTER with SYSTEM
...
fix test_drop_replica
fix drop replica '/path/to/zk/' ending in '/' and update doc
2020-06-23 12:12:30 +08:00
sundy-li
0a4af8f0a7
add SYSTEM DROP REPLICA
2020-06-23 12:12:30 +08:00
sundy-li
d4aa3cea4b
fix merge state
...
Fix style && build
2020-06-23 12:12:30 +08:00
sundy-li
906a43e4a8
Add drop replica alter support
2020-06-23 12:12:30 +08:00
alexey-milovidov
90b5e5d2f9
Merge pull request #11688 from ClickHouse/query-plan
...
Query plan
2020-06-21 14:05:13 +03:00
alexey-milovidov
cd3d7c9155
Merge pull request #11806 from azat/optimize_aggregators_of_group_by_keys-fix-alias
...
Preserve column alias with optimize_aggregators_of_group_by_keys
2020-06-21 00:13:19 +03:00
alexey-milovidov
c6877371ac
Merge pull request #11816 from ClickHouse/better-code-agr-functions-optimize
...
Fix 10% of bad code #11756
2020-06-20 16:51:44 +03:00
Nikolai Kochetov
819ea4fb89
Fix tests.
2020-06-20 16:48:21 +03:00
Nikolai Kochetov
0c6129ac7c
Fix build.
2020-06-20 11:52:41 +03:00
Nikolai Kochetov
4d70cc34c1
Merge branch 'master' into query-plan
2020-06-20 10:53:48 +03:00
Alexey Milovidov
9f26ac06ea
Fix another 10% of bad code #11529
2020-06-20 09:54:05 +03:00
Alexey Milovidov
b91782594d
Fix 10% of bad code #11756
2020-06-20 09:24:34 +03:00
alexey-milovidov
4129300fdb
Merge pull request #11788 from ClickHouse/fix-too-many-threads
...
Fix too many threads
2020-06-20 08:24:47 +03:00
alexey-milovidov
d341e34fac
Merge pull request #11795 from ClickHouse/remove-leader-election-3
...
Remove leader election, step 3: remove yielding of leadership; remove sending queries to leader.
2020-06-20 08:24:16 +03:00
tavplubix
b8685322b7
Merge pull request #11767 from amosbird/fs1
...
add scalars in time
2020-06-20 01:01:20 +03:00
Azat Khuzhin
5f14622bfd
Preserve column alias with optimize_aggregators_of_group_by_keys
...
optimize_aggregators_of_group_by_keys has been introduced in #11667
2020-06-19 23:04:19 +03:00
Nikolai Kochetov
8a048340b0
Fix tests.
2020-06-19 21:23:44 +03:00
Nikolai Kochetov
9ca456f255
Try fix totals.
2020-06-19 19:58:27 +03:00
Nikolai Kochetov
4cafa3d703
Try fix totals.
2020-06-19 19:51:44 +03:00
Nikolai Kochetov
f6cd3f43bb
Fix Context leak in InterpreterSelectQuery
2020-06-19 17:42:01 +03:00
Alexey Milovidov
5211a42c04
Remove leader election, step 3
2020-06-19 17:18:58 +03:00
Nikolai Kochetov
6c9c33f870
Fix Context leak in InterpreterSelectQuery
2020-06-19 17:00:11 +03:00
Nikolai Kochetov
ec892775a5
Fix Context leak in InterpreterSelectQuery
2020-06-19 16:34:40 +03:00
alexey-milovidov
3e06182079
Update InterpreterSelectQuery.cpp
2020-06-19 14:28:48 +03:00
Nikolai Kochetov
0335c698e0
Limit the number of threads.
2020-06-19 13:57:44 +03:00
Nikolai Kochetov
9ddd7b98cc
Fix tests.
2020-06-19 12:47:15 +03:00
Nikolai Kochetov
6708ae75f3
Fix build.
2020-06-19 11:30:21 +03:00
Nikolai Kochetov
cda4de40d7
Merge branch 'master' into query-plan
2020-06-19 11:29:15 +03:00
Anton Popov
36b9847d9a
Merge pull request #11768 from CurtizJ/any-input-optimize
...
Sligtly better code after #11529 .
2020-06-19 03:36:49 +03:00
Ruslan
f44dbcd2ab
Fix crash in min(multiply(1))
with optimize_arithmetic_operations_in_aggregate_functions ( #11756 )
2020-06-18 22:25:28 +03:00
Nikolai Kochetov
7bfb5c9a47
Fix build.
2020-06-18 21:40:02 +03:00
Nikolai Kochetov
a99d9f7712
Fix build.
2020-06-18 21:36:37 +03:00
Nikolai Kochetov
b7bed87a7f
Use QueryPlan in InterpreterSelectQuery [part 3].
2020-06-18 21:29:33 +03:00
Nikolai Kochetov
45adacf0bc
Use QueryPlan in InterpreterSelectQuery [part 2].
2020-06-18 20:45:00 +03:00
Anton Popov
bd28b7e1c2
better code
2020-06-18 20:05:26 +03:00
Ruslan
23cd919681
Any input optimize ( #11529 )
...
* workig commit №1
* working commit №2
* first version of ArithmeticOperationsInAgrFuncOptimize (min, max, sum)
* fix conflicts
* fix №2
* attempt №3
* Description + little mistake
* fix style + expanded optimization + add performance test
* style + merge with new version
* one more branch
* bug fix + merge
* just merge
* some code style and logic fixes
* little changes
* tests
* test(2)
* style
* seems to have fixed everything that was required
* bug fix
* style
* build fix
* fix typo
* fix clang-10 warning
* fix clang-10 warning
* nolint
* add new files to ya.make
* extract all functions from Any
* add last new lines.
* extract all functions from Any
* add last new lines.
* build + requested changes
* code style
* build + little perf test + anyLast
* minor changes
* bug fix
* minor changes
* another minor changes
* fix + experement
* experement 2.0
* experement 3.0
* experement 3.1
* experement 4.0
* last experement(think so)
* just another attempt to fix UB
* minor changes
* I think I won
* ya.make
* fix requested changes
Co-authored-by: Artem Zuikov <chertus@gmail.com>
2020-06-18 19:34:29 +03:00
Amos Bird
d524301038
add scalars in time
2020-06-19 00:14:19 +08:00
Nikolai Kochetov
e0841360db
Use QueryPlan in InterpreterSelectQuery [part 1].
2020-06-18 16:38:45 +03:00
Nikolai Kochetov
5bb2ddc6f9
Add DISTINCT trait for QueryPlanStep.
2020-06-18 16:00:16 +03:00
Alexander Kuzmenkov
730c22f767
Merge pull request #11748 from ClickHouse/aku/unbreak-jemalloc-metrics
...
Unbreak jemalloc stats + add more of them
2020-06-18 15:24:30 +03:00
Artem Zuikov
6af36cb703
CAST keep nullable ( #11733 )
2020-06-18 13:18:28 +03:00
Alexander Kuzmenkov
07ead3c815
Use hours instead of days.
...
std::chrono::days is C++20 which the barbarian Arcadia build is unable
to appreciate.
2020-06-18 05:03:59 +03:00
Alexander Kuzmenkov
4e42903eac
Unbreak jemalloc stats + add more of them
...
We didn't call the `epoch` mallctl, so all the statistics were stale.
Fix that, and also add some more statistics for arenas.
2020-06-18 04:54:10 +03:00
Nikolai Kochetov
9ad00187e3
Update InterpreterSelectQuery..
2020-06-17 23:19:55 +03:00
Nikolai Kochetov
169ad5e805
Add FinishSortingStep.
2020-06-17 22:57:13 +03:00
Nikolai Kochetov
e8049d34c5
Add OffsetsStep.
2020-06-17 22:38:45 +03:00
Nikolai Kochetov
69ff3a8f7d
Add ExtremesStep.
2020-06-17 22:30:36 +03:00