Commit Graph

286 Commits

Author SHA1 Message Date
Michael Kolupaev
c22a4b79c0 Fix infinite recursion 2024-06-01 19:19:16 +00:00
Michael Kolupaev
6b777f8cb2 Fix use-after-free 2024-06-01 19:19:16 +00:00
Raúl Marín
61fb090850 Merge remote-tracking branch 'blessed/master' into micro_analyzer 2024-05-13 20:46:48 +02:00
Alexey Milovidov
426a51b624 Useless changes 2024-05-10 04:53:29 +02:00
Raúl Marín
85096f037e updateHeader: Needs to keep track of all the matches 2024-05-07 12:42:55 +02:00
Raúl Marín
ef81f3313f Optimize ActionsDAG::updateHeader 2024-05-06 20:58:04 +02:00
Maksim Kita
b080adb586 Fixed build 2024-04-28 12:52:05 +03:00
Maksim Kita
8ed6f4c27a Fixed code review issues 2024-04-28 12:52:05 +03:00
Maksim Kita
bc6db79737 QueryPlan convert OUTER JOIN to INNER JOIN optimization 2024-04-28 12:52:04 +03:00
Maksim Kita
4a1a932c5f Fixed tests 2024-04-11 11:09:08 +03:00
Maksim Kita
1218cf1568 Updated implementation 2024-04-11 11:09:08 +03:00
vdimir
2753042387
Merge branch 'master' into vdimir/using_alias_followup 2024-03-20 17:29:13 +00:00
vdimir
c799bfd016
Analyzer: fixes for join using columns 2024-03-20 17:13:59 +00:00
Dmitry Novik
526af77f4a
Merge pull request #60313 from ClickHouse/analyzer-refactor-constant-name
Analyzer: Refactor execution name for ConstantNode
2024-03-08 12:08:05 +01:00
Nikolai Kochetov
dd458932c9 Try to avoid calculation of scalar subqueries for CREATE TABLE. 2024-02-27 17:46:13 +00:00
Dmitry Novik
d13b2a91c1 Fix virtual tables 2024-02-23 13:33:12 +00:00
Nikolai Kochetov
fd2ee19f65 Follow up for #58554. Cleanup. 2024-02-12 13:37:25 +00:00
Nikolai Kochetov
09d3b3c0d0
Merge pull request #58554 from ClickHouse/try-to-always-push-down-prewhere-from-query-plan
Simplify optimize-push-to-prewhere from query plan
2024-02-12 12:52:39 +01:00
Vitaly Baranov
1b9620001b Move ColumnArray-specific code out of the ActionsDAG. 2024-02-08 15:31:32 +01:00
Vitaly Baranov
12a71375b8 Fix skipping unused shards with analyzer. 2024-02-08 00:44:59 +01:00
Nikolai Kochetov
d1902cdba0 Fix some tests. 2024-02-07 12:36:24 +01:00
Nikolai Kochetov
06d112135e Simplify prewhere push down from query plan. Try to always use it. 2024-02-07 12:36:20 +01:00
Raúl Marín
f79a402e6d Add sanity checks for function return types 2024-01-30 14:10:20 +01:00
Maksim Kita
5bb734a4bb ActionsDAG buildFilterActionsDAG refactoring 2024-01-25 18:24:14 +03:00
Dmitry Novik
728276ab3f Fix crash when indexHint() is used 2024-01-19 14:59:33 +00:00
Nikolai Kochetov
84194f10f2 Fixing tests. 2023-11-28 18:04:30 +00:00
Alexey Milovidov
8c253b9e3e Remove C++ templates 2023-11-10 05:25:02 +01:00
Nikolai Kochetov
0bfa2b6975
Merge pull request #56254 from ClickHouse/aggregate-by-partition-analyzer
Properly process aliases for aggregation-by-partition optimization.
2023-11-09 12:49:25 +01:00
vdimir
43bf718318
Fix crash in filterPushDown 2023-11-07 09:44:14 +00:00
Nikolai Kochetov
5b6bf58730 Proper process aliases for aggregation-by-partition optimization. 2023-11-02 11:19:37 +00:00
Nikolai Kochetov
554ceb4e1d Merge branch 'master' into planner-prepare-filters-for-analysis-2 2023-10-30 11:56:30 +01:00
Nikita Mikhaylov
4456fe40f9
Remove the old code for projection analysis (#55112) 2023-10-10 17:13:32 +02:00
Nikolai Kochetov
903c966cc8
Merge branch 'master' into planner-prepare-filters-for-analysis-2 2023-09-11 16:14:03 +02:00
Nikolai Kochetov
46087fd3e5 Refactor. 2023-09-01 15:45:08 +00:00
Nikolai Kochetov
7136c97c09 Fixing fast tests. 2023-08-24 11:07:17 +00:00
Nikolai Kochetov
fc90a1a0bd Fix some skip_unused_shards tests. 2023-08-24 11:07:17 +00:00
vdimir
b23773380c
Fix filter pushdown for full_sorting_merge join 2023-08-22 15:06:50 +00:00
Igor Nikonov
82adef03ab Merge remote-tracking branch 'origin/master' into fix_remove_redundant_distinct_with_view 2023-07-22 18:10:24 +00:00
Igor Nikonov
687cbc57bb Fix typo 2023-07-21 22:15:02 +00:00
Igor Nikonov
6c8d5ca0a5 Fix: remove redundant distinct with views 2023-07-21 21:33:51 +00:00
Nikolai Kochetov
ee33000fc2 Fixing tests. 2023-07-07 14:08:54 +00:00
Nikolai Kochetov
fa7fe5277c Better comment. 2023-07-07 12:25:13 +00:00
Nikolai Kochetov
1e0d97c282 Do not remove inputs after ActionsDAG::merge 2023-07-07 12:19:10 +00:00
Alexey Milovidov
c958a1a77b Fix fuzzer failure in ActionsDAG 2023-06-23 01:23:25 +02:00
Smita Kulkarni
dedb9067ce WIP : Azure Table Function, added read and StorageAzureSource 2023-06-05 20:36:17 +02:00
Alexey Milovidov
647472ed46
Merge branch 'master' into aiven-sal/having_pr 2023-05-08 05:53:38 +03:00
Nikolai Kochetov
f66e9c5a26
Merge pull request #48427 from ClickHouse/update_sort_desc_follow_up
Update sort desc: more efficient original node search in ActionsDAG
2023-04-12 13:59:37 +02:00
Nikolai Kochetov
6c6335b686
Merge pull request #48357 from ClickHouse/fix-projections-analysis-with-analyzer
Batch fix for projections analysis with analyzer.
2023-04-06 15:13:56 +02:00
Igor Nikonov
46f7016d8c Add search alias by input name in ActionsDAG 2023-04-05 15:56:06 +00:00
Igor Nikonov
41f6e0e7b5 More efficient original node search in ActionsDAG 2023-04-05 13:36:07 +00:00