Commit Graph

169 Commits

Author SHA1 Message Date
Maksim Kita
25da9dcef7 StorageDistributed Planner initialization fix 2023-02-16 12:17:02 +01:00
Maksim Kita
75876200af Planner disable names projection on shards 2023-02-16 12:17:02 +01:00
Maksim Kita
8eb93b216b Planner JOIN TREE unused columns drop fix 2023-02-16 12:17:02 +01:00
Maksim Kita
84f3f8e18b Planner UNION different number of columns exception fix 2023-02-16 12:17:02 +01:00
Maksim Kita
945ce7ca63 Planner support indexHint function 2023-02-16 12:17:02 +01:00
Dmitry Novik
0e5975c50d
Merge branch 'master' into analyzer-group-by-use-nulls 2023-02-15 17:01:30 +01:00
Dmitry Novik
e460aa6272 Fix warning 2023-02-15 16:00:51 +00:00
Yakov Olkhovskiy
343aa5a04c
Merge branch 'master' into analyzer-limits 2023-02-15 01:07:13 -05:00
Nikita Taranov
cbd10c4493
Fix mbm with aio on top of query plan (#45892) 2023-02-14 14:02:54 +01:00
Dmitry Novik
1fce8e4eed Fix alias resolve with group_by_use_nulls 2023-02-13 18:35:34 +00:00
Yakov Olkhovskiy
47509aea83 propagate storage limits to subquery 2023-02-12 02:11:46 +00:00
Dmitry Novik
139a684952 Move analyzeProjection call 2023-02-03 16:00:25 +00:00
Dmitry Novik
d589864828 Cleanup code 2023-02-01 18:12:13 +00:00
Dmitry Novik
7e40ab7658 Update output columns after WindowStep 2023-02-01 18:04:19 +00:00
Dmitry Novik
f505b798da Fix ActionDAG construction with group_by_use_nulls 2023-02-01 17:18:15 +00:00
Dmitry Novik
eee7df8149 WIP on group_by_use_nulls 2023-02-01 13:33:32 +00:00
taofengliu
aae5d302be bug fix 2023-01-31 20:49:21 +08:00
Alexander Tokmakov
70d1adfe4b
Better formatting for exception messages (#45449)
* save format string for NetException

* format exceptions

* format exceptions 2

* format exceptions 3

* format exceptions 4

* format exceptions 5

* format exceptions 6

* fix

* format exceptions 7

* format exceptions 8

* Update MergeTreeIndexGin.cpp

* Update AggregateFunctionMap.cpp

* Update AggregateFunctionMap.cpp

* fix
2023-01-24 00:13:58 +03:00
Maksim Kita
3363f7c718 Added GroupingFunctionsResolvePass 2023-01-19 19:06:02 +01:00
Maksim Kita
506f91b841 Fixed tests 2023-01-19 19:05:49 +01:00
Maksim Kita
2c56b0b2b9 Planner small fixes 2023-01-19 19:05:49 +01:00
Maksim Kita
c6c17b9e3f Fixed tests 2023-01-12 16:33:00 +01:00
Maksim Kita
225e0bdcc2 Fixed tests 2023-01-12 12:07:58 +01:00
Maksim Kita
a140d6c5b1 Fixed code review issues 2023-01-12 12:07:58 +01:00
Maksim Kita
47f4159909 Analyzer support distributed queries processing 2023-01-12 12:07:58 +01:00
Maksim Kita
30de77d071
Merge pull request #44545 from ClickHouse/vdimir/analyzer_drop_join_on
Drop unused columns after join on/using
2023-01-12 13:51:14 +03:00
vdimir
1b6e036d46
Review fixes 2023-01-11 11:54:28 +00:00
Vladimir C
eed2a29524
Fix style 2023-01-11 10:55:51 +00:00
vdimir
6c5b4458cb
Add test, comments, rename 2023-01-11 10:55:50 +00:00
vdimir
f3702e9279
add missing src/Planner/CollectUsedIndetifiers 2023-01-11 10:55:50 +00:00
vdimir
0b86deb585
[wip] drop unused columns after join on/using 2023-01-11 10:55:49 +00:00
vdimir
a881a61e74
Set pipeline type in join step description 2023-01-11 10:55:49 +00:00
Maksim Kita
fbba28b31e Analyzer aggregation without column fix 2023-01-10 16:49:55 +01:00
Dmitry Novik
e481c0bae5 Cleanup code 2022-12-23 18:23:01 +00:00
Dmitry Novik
875a24a650 Merge remote-tracking branch 'origin/master' into refector-function-node 2022-12-16 16:07:30 +00:00
Maksim Kita
52ad726124 Analyzer StorageView crash fix 2022-12-16 11:53:26 +01:00
Dmitry Novik
3d2fccab87
Merge branch 'master' into refector-function-node 2022-12-12 21:36:39 +01:00
vdimir
a25c0d7544
Join engine works with analyzer 2022-12-12 12:19:47 +00:00
Maksim Kita
4d39a7d103 Fixed code review issues 2022-12-08 17:30:32 +01:00
Maksim Kita
99de697ea2 Analyzer added indexes support 2022-12-08 17:30:32 +01:00
Maksim Kita
301267b0a4
Merge pull request #43884 from kitaisreal/analyzer-context-refactoring
Analyzer Context refactoring
2022-12-08 11:29:56 +03:00
Dmitry Novik
25ecb75ca8 Merge remote-tracking branch 'origin/master' into refector-function-node 2022-12-07 18:36:50 +00:00
Nikolai Kochetov
0ed82f3cc0
Merge branch 'master' into aggregating-in-order-from-query-plan 2022-12-06 16:36:49 +01:00
Maksim Kita
13d74b4f2f Analyzer Context refactoring 2022-12-06 10:44:38 +01:00
Dmitry Novik
a2179d5fe9 Fix lambda processing 2022-12-02 19:15:26 +00:00
Dmitry Novik
2c70dbc76a Refactor FunctionNode 2022-12-02 19:15:26 +00:00
Maksim Kita
16359d42be
Merge pull request #43793 from kitaisreal/analyzer-constant-node-refactoring
Analyzer ConstantNode refactoring
2022-11-30 20:06:27 +03:00
Vladimir C
53dc70a2d0
Merge pull request #38191 from BigRedEye/grace_hash_join
Closes https://github.com/ClickHouse/ClickHouse/issues/11596
2022-11-30 17:01:00 +01:00
Maksim Kita
a2060fae3f Fixed style check 2022-11-29 12:47:31 +01:00
Maksim Kita
074e5ceb67 Analyzer ConstantNode refactoring 2022-11-29 12:47:31 +01:00
Nikolai Kochetov
6d0646ed8f
Merge branch 'master' into aggregating-in-order-from-query-plan 2022-11-28 16:53:29 +01:00
Nikita Taranov
8ed5cfc265
Memory bound merging for distributed aggregation in order (#40879)
* impl

* fix style

* make executeQueryWithParallelReplicas similar to executeQuery

* impl for parallel replicas

* cleaner code for remote sorting properties

* update test

* fix

* handle when nodes of old versions participate

* small fixes

* temporary enable for testing

* fix after merge

* Revert "temporary enable for testing"

This reverts commit cce7f8884c.

* review fixes

* add bc test

* Update src/Core/Settings.h
2022-11-28 00:41:31 +01:00
Igor Nikonov
20e67b7140 Merge remote-tracking branch 'origin/master' into HEAD 2022-11-24 13:10:37 +00:00
Nikolai Kochetov
62debf42b4 Aggregating in order [in progress]. 2022-11-23 18:38:12 +00:00
Maksim Kita
0fe17c2c7b Fixed code review issues 2022-11-22 11:14:55 +01:00
Maksim Kita
cdc2fb0b59 Analyzer small fixes 2022-11-22 11:14:55 +01:00
Maksim Kita
ef7d867966
Merge pull request #43119 from kitaisreal/analyzer-aggregation-totals-rollup-crash-fix
Analyzer aggregation totals crash fix
2022-11-17 01:32:37 +03:00
Maksim Kita
986e9a60da Analyzer aggregation totals crash fix 2022-11-14 11:27:12 +01:00
Maksim Kita
ab5e1ab650
Merge pull request #43141 from kitaisreal/analyzer-join-with-constants-improvements
Analyzer improve JOIN with constants
2022-11-14 12:15:34 +03:00
Nikolai Kochetov
63d06c8b53
Merge pull request #42829 from ClickHouse/read-in-order-from-query-plan
Read-in-order over query plan
2022-11-11 12:15:20 +01:00
Maksim Kita
4ce261dfd7 Analyzer improve JOIN with constants 2022-11-11 10:49:48 +01:00
Maksim Kita
80a13538ca
Merge pull request #43090 from ClickHouse/vdimir/window_frame_type_groups_assert
Throw not implemented for window frame type 'groups' in analyzer
2022-11-10 21:14:09 +03:00
vdimir
961befb1f5
Not implemented for window frame type 'groups' in analyzer 2022-11-10 09:50:45 +00:00
Nikolai Kochetov
997881c7f7 Review fixes. 2022-11-09 16:07:38 +00:00
Maksim Kita
3b3e27f22a Analyzer improve ARRAY JOIN with JOIN 2022-11-08 14:25:23 +01:00
Nikolai Kochetov
9ffebf4a0c Fixing read-in-order for special storages. 2022-11-01 19:51:52 +00:00
vdimir
0028a49de8
Handle grace hash join in planner 2022-10-26 16:26:26 +00:00
Maksim Kita
a28d1f01fd Analyzer IQueryTreeNode remove getName method 2022-10-25 12:54:17 +02:00
Maksim Kita
d0e64eb15b Fixed tests 2022-10-24 16:14:05 +02:00
Maksim Kita
9a02d25c0b Fixed tests 2022-10-24 10:22:38 +02:00
Maksim Kita
3862dd96fe Fixed tests 2022-10-24 10:22:38 +02:00
Maksim Kita
d083200d65 Fixed code review issues 2022-10-24 10:22:38 +02:00
Maksim Kita
82fae0125c Added FullSortingMerge JOIN support 2022-10-24 10:22:38 +02:00
Maksim Kita
c82bb1128f Fixed nested IN functions 2022-10-24 10:22:37 +02:00
Maksim Kita
98eba24a34 Fix LIMIT when query has WITH TOTALS 2022-10-24 10:22:37 +02:00
Maksim Kita
f4e59b217f Added RBAC support 2022-10-24 10:22:37 +02:00
Maksim Kita
b50e2ce470 Added SETTINGS support 2022-10-24 10:22:37 +02:00
Maksim Kita
5a0298ea34 Fixed tests 2022-10-24 10:22:37 +02:00
Maksim Kita
77ea9a11cd Fixed code review issues 2022-10-24 10:22:21 +02:00
Maksim Kita
2f282eeec9 Updated InDepthQueryTreeVisitor implementation 2022-10-24 10:22:21 +02:00
Maksim Kita
239f1855aa Updated projection names implementation 2022-10-24 10:22:21 +02:00
Maksim Kita
400de59a37 Fixed style check 2022-10-24 10:22:21 +02:00
Maksim Kita
0892f485bb Fix lambda tests 2022-10-24 10:22:21 +02:00
Maksim Kita
54e2b6d28a Added EXISTS support 2022-10-24 10:22:21 +02:00
Maksim Kita
10438aea01 Added JOIN support for different algorithm 2022-10-24 10:22:21 +02:00
Maksim Kita
a0d9251f3a Added ASOF join support 2022-10-24 10:22:21 +02:00
Maksim Kita
3782aed7a9 Separate planner expression analysis 2022-10-24 10:22:20 +02:00
Maksim Kita
8a39c3e1d5 Separate planner JOIN TREE processing 2022-10-24 10:22:20 +02:00
Maksim Kita
c7d51ca83d Rename InterpolateColumnNode into InterpolateNode 2022-10-24 10:22:20 +02:00
Maksim Kita
2b2a70082e Rename SortColumnNode into SortNode 2022-10-24 10:22:20 +02:00
Maksim Kita
fe84e871f8 Fixed build 2022-10-24 10:22:20 +02:00
Maksim Kita
8cadb1b318 Added WINDOW functions support 2022-10-24 10:22:20 +02:00
Maksim Kita
85ac02c9db Planner improve action names 2022-10-24 10:22:20 +02:00
Maksim Kita
890d9678b9 Fixed tests 2022-10-24 10:22:20 +02:00
Maksim Kita
a06832508e Fixed tests 2022-10-24 10:22:20 +02:00
Maksim Kita
4f68305dbe Fixed tests 2022-10-24 10:22:20 +02:00
Maksim Kita
ca93ee7479 Fixed tests 2022-10-24 10:22:20 +02:00
Maksim Kita
fc860ec050 Planner collect table expression data 2022-10-24 10:22:20 +02:00
Maksim Kita
fed146e198 Added SAMPLE BY support. Added SAMPLE BY, FINAL support for JOINS. 2022-10-24 10:22:20 +02:00
Maksim Kita
5128262129 Added GROUP BY with constant keys support 2022-10-24 10:22:20 +02:00