Nikolai Kochetov
e9f893d9b0
Move query plan optimixations into separate files.
2021-01-27 16:57:26 +03:00
Nikolai Kochetov
d683bf42ce
Review fixes.
2021-01-22 16:46:56 +03:00
Nikolai Kochetov
801c540f5e
Try fix tests.
2021-01-20 20:33:12 +03:00
Nikolai Kochetov
fa3964d36d
Fix test.
2021-01-20 12:42:55 +03:00
Nikolai Kochetov
a69d386492
Fix tests.
2021-01-19 20:09:40 +03:00
Nikolai Kochetov
35f48e60ad
Fix description after step optimizations
2021-01-19 16:21:28 +03:00
Nikolai Kochetov
964af8e02c
Fix description after step optimizations
2021-01-19 16:17:52 +03:00
Nikolai Kochetov
b1c7944f84
Fix description after step optimizations
2021-01-19 16:08:14 +03:00
Nikolai Kochetov
9db2974aaa
Update explain for filter
2021-01-19 15:54:55 +03:00
Nikolai Kochetov
0711957fbb
Split filter optimization.
2021-01-19 15:08:21 +03:00
Nikolai Kochetov
91403b2f75
Split filter optimization.
2021-01-19 15:04:45 +03:00
Nikolai Kochetov
b00f01d6b1
Split filter optimization.
2021-01-19 13:03:25 +03:00
Nikolai Kochetov
6e1a118642
Merge Filter and Expression steps.
2021-01-19 11:14:37 +03:00
Nikolai Kochetov
7135c62204
Update tryLiftUpArrayJoin
2021-01-18 19:12:16 +03:00
Nikolai Kochetov
1937659450
Add more info for ActionsDAG
2021-01-12 21:47:54 +03:00
Alexander Kuzmenkov
d4e5d5fdb4
Merge pull request #18455 from ClickHouse/aku/window-prototype
...
[wip] some window function fixes
2020-12-29 19:23:19 +03:00
Nikolai Kochetov
d6f501f497
Try fix Pipeline stuck
2020-12-27 13:30:00 +03:00
Alexander Kuzmenkov
61a35cdafd
final cleanup
2020-12-24 12:12:34 +03:00
Alexander Kuzmenkov
c6c2b3ba00
Remove the forward declaration changes
2020-12-24 12:12:34 +03:00
Alexander Kuzmenkov
2bb0f5772e
proper signature
2020-12-24 12:12:34 +03:00
Alexander Kuzmenkov
23d77a1698
remove debug output
2020-12-24 09:59:38 +03:00
Alexander Kuzmenkov
844239b1c3
tmp fixes (split me)
2020-12-24 07:03:33 +03:00
Alexander Kuzmenkov
85c1bc1253
Merge remote-tracking branch 'origin/master' into tmp
2020-12-21 10:46:21 +03:00
Alexander Kuzmenkov
132a0b42eb
cleanup
2020-12-18 20:13:28 +03:00
Amos Bird
272311f6bd
Extensive information in system.query_log
2020-12-18 14:13:58 +08:00
Alexander Kuzmenkov
e335074c39
works across the blocks
2020-12-16 15:57:47 +03:00
Alexander Kuzmenkov
fabb37d3c9
cleanup
2020-12-15 20:39:58 +03:00
Alexander Kuzmenkov
a75ca3cb79
Merge remote-tracking branch 'origin/master' into tmp
2020-12-15 03:36:43 +03:00
Alexander Kuzmenkov
6d5b23de67
something works
2020-12-15 03:36:03 +03:00
alexey-milovidov
bce02de691
Merge pull request #17539 from azat/remerge_sort_lowered_memory_bytes_ratio
...
Add remerge_sort_lowered_memory_bytes_ratio setting
2020-12-13 04:38:50 +03:00
Alexander Kuzmenkov
6f991725c3
forgot new files
2020-12-11 01:16:58 +03:00
alesapin
57f40e4260
Merge pull request #17458 from ClickHouse/merge-expressions
...
Merge expressions
2020-12-07 12:34:19 +03:00
Nikolai Kochetov
e57ad9cb7e
Update QueryPlan.cpp
2020-12-04 11:41:36 +03:00
Azat Khuzhin
ccd794a676
Add remerge_sort_lowered_memory_bytes_ratio setting
...
Sometimes default ratio is not good enough (2), since it depends on lots
of factors:
- size of LIMIT
- max_memory_usage
- ...
So add a separate setting for it.
But note that it make sense to set
remerge_sort_lowered_memory_bytes_ratio only in range (1, 2]
Since <= 1 will just use more CPU, and > 2 will use more RAM and will
unlikely be faster.
2020-11-29 21:16:42 +03:00
Nikolai Kochetov
a2c450d7e2
Do not merge functions with arrayJoin and stateful functions.
2020-11-27 12:50:56 +03:00
Nikolai Kochetov
c42cc8f1ff
Merge Expressions in QueryPlan.
2020-11-26 22:09:42 +03:00
Nikolai Kochetov
4378ca21ca
Properly check distinct columns.
2020-11-26 12:46:41 +03:00
Nikolai Kochetov
4c09880bc4
Properly check distinct columns.
2020-11-26 11:50:02 +03:00
lichengxiang
fdde2d1e8a
fix #17294 : Distinct on subquery with group by may return duplicate result
2020-11-23 17:06:59 +08:00
Nikolai Kochetov
13eceff55c
Remove Converting transform and step.
2020-11-17 20:16:55 +03:00
Nikolai Kochetov
e8e6461fa7
Move ActionsDAG to separate file.
2020-11-16 17:57:56 +03:00
Nikolai Kochetov
9b13d0e0eb
Revert "Add ActionsDAG::updateHeader()"
...
This reverts commit b78657656c
.
2020-11-11 20:17:26 +03:00
Nikolai Kochetov
58c4a7b890
Some renames.
2020-11-11 19:52:27 +03:00
Nikolai Kochetov
4abcd1bcb3
Add more comments.
2020-11-11 17:26:18 +03:00
Nikolai Kochetov
b78657656c
Add ActionsDAG::updateHeader()
2020-11-11 16:50:29 +03:00
Nikolai Kochetov
1846bb3cac
Merge branch 'master' into actions-dag-f14
2020-11-11 13:08:57 +03:00
Nikolai Kochetov
c6575c9032
Update ExpressionActions constructur
2020-11-10 19:27:55 +03:00
Nikolai Kochetov
6717c7a0af
Merge branch 'master' into actions-dag-f14
2020-11-09 14:57:48 +03:00
Alexey Milovidov
5314185e25
Merge branch 'master' into azat-optimize_skip_unused_shards-optimization
2020-11-08 00:17:59 +03:00
Nikolai Kochetov
4ce88298d7
Fix build
2020-11-03 22:33:29 +03:00