Commit Graph

128 Commits

Author SHA1 Message Date
Raúl Marín
473743b49f
Disable pure parallel replicas if trivial count optimization is possible (#50594) 2023-06-06 18:38:32 +02:00
Dmitry Novik
d9a6e36685 Add comments 2023-06-05 11:02:23 +00:00
Dmitry Novik
a4cb82127d Analyzer: WIP on distributed queries 2023-06-01 14:34:29 +00:00
Azat Khuzhin
d03ae2abfa Fix modernize-loop-convert clang-tidy warning
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-09 21:19:37 +02:00
Alexey Milovidov
6fddb5bad3 Simplification 2023-05-07 06:31:00 +02:00
Dmitry Novik
235ad55bad
Merge branch 'master' into analyzer-additional-filters 2023-04-12 01:13:38 +02:00
Dmitry Novik
0e417b1a6f Cleanup the code 2023-04-11 14:08:28 +00:00
Dmitry Novik
a60c315b3e Support additional_result_filter 2023-04-06 19:18:26 +00:00
Dmitry Novik
4cb1ffa2eb Fix distributed case 2023-04-05 16:13:03 +00:00
vdimir
01ce3baf0f
Rename Context::getTemporaryVolume to getGlobalTemporaryVolume 2023-04-05 13:42:13 +00:00
Dmitry Novik
96a1304730 WIP on additional_table_filters 2023-04-04 20:33:59 +00:00
Antonio Andelic
ac8dd527dc Address PR comments 2023-03-28 07:49:34 +00:00
Antonio Andelic
28182e9489
Fix typo 2023-03-27 15:51:42 +02:00
Antonio Andelic
fa8ea85f3d Make custom key work with new analyzer 2023-03-27 13:39:33 +00:00
Maksim Kita
f45dac99c2 Revert "Revert "Analyzer planner fixes before enable by default"" 2023-03-22 17:19:32 +01:00
Alexey Milovidov
ef5e8462da
Revert "Analyzer planner fixes before enable by default" 2023-03-19 19:25:37 +03:00
Maksim Kita
87f8138c55 Analyzer support row policy 2023-03-15 15:21:49 +01:00
Maksim Kita
6c2084052c Fixed tests 2023-03-15 15:21:49 +01:00
Maksim Kita
c102adb728 Analyzer added PREWHERE support 2023-03-15 15:21:49 +01:00
Maksim Kita
fe25922899 Planner JOIN TREE build fix 2023-03-12 13:43:58 +01:00
Maksim Kita
25088187d4 Fixed tests 2023-03-11 11:51:54 +01:00
Maksim Kita
0358cb36d8 Fixed tests 2023-03-11 11:51:54 +01:00
Maksim Kita
a762112e15 Analyzer support distributed JOINS and subqueries in IN functions 2023-03-11 11:51:54 +01:00
Igor Nikonov
56e8547f7e Do not apply the optimization when plan is built only for analysis 2023-03-06 10:47:32 +00:00
Igor Nikonov
b6f05a6399 Merge remote-tracking branch 'origin/master' into analyzer_trivial_count_optimization 2023-03-03 17:44:08 +00:00
Maksim Kita
d55b800fc6 Fixed code review issues 2023-03-02 13:43:03 +01:00
Igor Nikonov
e17c0b6bf1 Review fixes 2023-03-01 20:19:51 +00:00
Maksim Kita
d39be3ac9c Fixed tests 2023-03-01 18:05:07 +01:00
Maksim Kita
14e01566a0 Fixed tests 2023-03-01 18:05:07 +01:00
Maksim Kita
51ee007e01 Fixed tests 2023-03-01 18:05:07 +01:00
Maksim Kita
bff55d5b2a Planner table expression data column order fix 2023-03-01 18:03:42 +01:00
Maksim Kita
40fc36bb6f Fixed tests 2023-03-01 18:03:42 +01:00
vdimir
0a4842a99f
Fix empty result when selection from only one side of join in analyzer 2023-03-01 16:10:31 +00:00
Igor Nikonov
42c5634ae4 Remove debug logging 2023-02-28 11:35:36 +00:00
Igor Nikonov
e01c9ff5ec Fixes: group by, final 2023-02-27 17:37:29 +00:00
Igor Nikonov
cac9e96d04 Fix: do not apply if FINAL 2023-02-27 10:56:59 +00:00
Igor Nikonov
f9a324c47a Make diagnostic traces debug level 2023-02-27 09:48:24 +00:00
Igor Nikonov
1e4d9e2421 try to fix 2023-02-26 22:51:17 +00:00
Igor Nikonov
4b5d62d5bf Analyzer: trivial count optimization 2023-02-26 22:19:01 +00:00
Maksim Kita
cbd961de98 Fixed code review issues 2023-02-18 17:06:00 +01:00
Maksim Kita
6b2adc1ec2 Analyzer storage Merge fixes 2023-02-16 12:17:03 +01:00
Maksim Kita
80af0666ea Analyzer support Materialized View 2023-02-16 12:17:03 +01:00
Maksim Kita
b2cc71f413 Fixed tests 2023-02-16 12:17:03 +01:00
Maksim Kita
afb3eb3c31 Planner JOIN planning fix 2023-02-16 12:17:03 +01:00
Maksim Kita
af38660cf5 Analyzer support ARRAY JOIN with Nested 2023-02-16 12:17:03 +01:00
Maksim Kita
f8442b2a8d Analyzer support LiveView 2023-02-16 12:17:03 +01:00
Maksim Kita
70eb41c6a8 Analyzer add single_join_prefer_left_table setting 2023-02-16 12:17:03 +01:00
Maksim Kita
8eb93b216b Planner JOIN TREE unused columns drop fix 2023-02-16 12:17:02 +01:00
Yakov Olkhovskiy
47509aea83 propagate storage limits to subquery 2023-02-12 02:11:46 +00: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
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
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
vdimir
6c5b4458cb
Add test, comments, rename 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
Maksim Kita
99de697ea2 Analyzer added indexes support 2022-12-08 17:30:32 +01:00
Maksim Kita
13d74b4f2f Analyzer Context refactoring 2022-12-06 10:44:38 +01:00
Igor Nikonov
20e67b7140 Merge remote-tracking branch 'origin/master' into HEAD 2022-11-24 13:10:37 +00: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
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
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
f4e59b217f Added RBAC support 2022-10-24 10:22:37 +02:00
Maksim Kita
5a0298ea34 Fixed tests 2022-10-24 10:22:37 +02:00
Maksim Kita
400de59a37 Fixed style check 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
8a39c3e1d5 Separate planner JOIN TREE processing 2022-10-24 10:22:20 +02:00