Anton Popov
f8905acb46
fix crash with multiif and constant condition and nullable arguments
2023-05-22 23:31:50 +00:00
Smita Kulkarni
cb04c6301c
Support for cte in parameterized views
Implementation:
...
* Updated to allow query parameters while evaluating scalar subqueries.
Testing:
* Added test case with cute for parameterized view.
2023-03-27 16:30:53 +02:00
vdimir
030ee3a525
Add ComparisonTupleEliminationVisitor
2023-03-21 16:11:06 +00:00
SmitaRKulkarni
90834d4aa5
Merge pull request #46487 from ClickHouse/45185_Inner_join_with_where
...
Updated to not clear on_expression from table_join
2023-02-20 11:38:31 +01:00
Azat Khuzhin
5af2967f65
Revert code in TreeRewriter for proper column order for UNION
...
It is not required after #44920 , which has a proper fix that does this
in ExpressionAnalyzer.
This reverts commit d98336ad83
.
Reverts: #37887
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-16 20:46:39 +01:00
Smita Kulkarni
6763a9d1ff
Updated to not clear on_expression from table_join as its used by future analyze runs
2023-02-16 16:15:18 +01:00
Alexander Tokmakov
6eb557b2ba
Merge branch 'master' into exception_message_patterns4
2023-01-25 13:49:17 +01:00
Alexander Tokmakov
6621834e37
fix
2023-01-24 17:10:54 +01:00
vdimir
0e09d0a00c
Remove FuseSumCountAggregatesVisitor
2023-01-24 14:58:26 +00:00
Alexander Tokmakov
414693feb2
fixes
2023-01-24 00:46:03 +01:00
Alexander Tokmakov
3f6594f4c6
forbid old ctor of Exception
2023-01-23 22:18:05 +01: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
Nikolai Kochetov
30310df5be
Merge branch 'master' into logical-optimizer-lowcardinality
2023-01-12 18:51:05 +01:00
Kseniia Sumarokova
db3e0219fc
Merge pull request #41687 from ClickHouse/40907_Parameterized_views_as_table_functions
...
40907 Parameterized views as table functions
2023-01-12 14:24:32 +01:00
Maksim Kita
fbba28b31e
Analyzer aggregation without column fix
2023-01-10 16:49:55 +01:00
Smita Kulkarni
1f89db78a5
Added is_create_parameterized_view flag in ActionsVisitor, added functions for column manipulation for parameterized view in StorageView, updated tests to fix flaky test issues and addressed small review comments- 40907 Parameterized views as table functions
2023-01-03 11:00:39 +01:00
SmitaRKulkarni
02ff2ea8ac
Merge branch 'master' into 40907_Parameterized_views_as_table_functions
2022-12-29 13:56:00 +01:00
Raúl Marín
e915ce1e95
Merge remote-tracking branch 'blessed/master' into perf_experiment
2022-12-28 20:15:43 +01:00
Kseniia Sumarokova
b5431e971e
Merge pull request #44519 from jh0x/improve-column-hints
...
Prevent duplicates in column name hints. Improve formatting.
2022-12-27 12:37:19 +01:00
Raúl Marín
fc1fa82a39
Merge branch 'master' into perf_experiment
2022-12-27 10:51:58 +01:00
SmitaRKulkarni
4d7459bd65
Merge branch 'master' into 40907_Parameterized_views_as_table_functions
2022-12-27 08:15:42 +01:00
Joanna Hulboj
a86894cce5
FIXUP: PR comments
2022-12-23 15:38:14 +00:00
Joanna Hulboj
501cc390f6
Prevent duplicates in column name hints. Improve formatting.
2022-12-22 16:58:30 +00:00
Smita Kulkarni
5001cf9fa2
Updated to get column data type based not function , not the query parameter type , added test for the same - 40907 Parameterized views as table functions
2022-12-19 15:05:38 +01:00
Smita Kulkarni
22c2956a06
Updated comment on fetching parameter values from query and fixed style comment- 40907 Parameterized views as table functions
2022-12-16 12:19:11 +01:00
Smita Kulkarni
dd8df3347b
Addressed style review comments and removed bool variables assignment from Clone of ASTs - 40907 Parameterized views as table functions
2022-12-16 11:11:19 +01:00
Smita Kulkarni
16d8fd02fb
Merge branch 'master' into 40907_Parameterized_views_as_table_functions
2022-12-16 08:52:48 +01:00
vdimir
1d9096c9ac
fix
2022-12-15 15:13:59 +00:00
vdimir
36562fdbbb
Fix JOIN ON t1.x = t2.x AND 1 = 1
2022-12-15 15:12:13 +00:00
Nikolay Degterinsky
9b6d31b95d
Merge branch 'master' into perf_experiment
2022-12-13 17:15:07 +01:00
Kseniia Sumarokova
7bb1f64df4
Merge pull request #43987 from kssenii/positional-args-fix
...
Fix order by positional arg in case unneeded columns pruning
2022-12-08 13:15:37 +01:00
Kruglov Pavel
0598ca92a3
Merge pull request #43873 from canhld94/ch_canh_fix_normalize
...
Fix some incorrect logic in ast level optimization
2022-12-08 12:38:36 +01:00
vdimir
4b50e5c15e
fix
2022-12-07 16:27:01 +00:00
kssenii
3725cf4aa7
Better
2022-12-07 11:26:32 +01:00
Guo Wangyang
b86686b3f8
Merge branch 'master' into logical-optimizer-lowcardinality
2022-12-07 13:33:25 +08:00
kssenii
862da8f459
Fix
2022-12-06 17:07:28 +01:00
Duc Canh Le
3b9c590a12
Merge branch 'master' into ch_canh_fix_normalize
2022-12-02 17:59:21 +08:00
Duc Canh Le
518058b92e
fix some bad logics in ast level optimization
2022-12-02 17:56:23 +08:00
Nikita Taranov
488610bd96
impl ( #43709 )
2022-11-29 18:22:24 +01:00
Smita Kulkarni
953e1068b5
Merge branch 'master' into 40907_Parameterized_views_as_table_functions
2022-11-28 19:10:32 +01:00
Smita Kulkarni
0545e24151
Updated to support query parameters in different parts of query (SELECT, ORDERBY, GROUP BY), updated the approach in WHERE & HAVING, added tests for the same - 40907 Parameterized views as table functions
2022-11-28 19:05:01 +01:00
Raúl Marín
4d3217cb18
Merge branch 'master' into perf_experiment
2022-11-24 10:32:12 +01:00
Antonio Andelic
c52ca6e10e
Merge branch 'master' into substitute-udf-create
2022-11-23 16:08:37 +00:00
Antonio Andelic
981e8a3a27
Modifiy visitor
2022-11-23 13:32:36 +00:00
Wangyang Guo
b08961be8a
LogicalExpressionsOptimizer: optimze for LowCardinality
2022-11-02 16:56:58 +08:00
Wangyang Guo
f4483ed19e
TreeRewriter: use well defined TablesWithColumns
2022-11-02 16:56:58 +08:00
taofengliu
d0767cab1d
GROUP BY ALL in Analyzer
2022-11-01 16:18:56 +08:00
Smita Kulkarni
9aa06e48f6
Merge branch 'master' into 40907_Parameterized_views_as_table_functions
2022-10-31 15:46:52 +01:00
taofengliu
82581b73ea
fix
2022-10-28 21:52:27 +08:00
taofengliu
7d1fbdbfeb
Merge remote-tracking branch 'upstream/master' into group_by_all
2022-10-28 21:48:56 +08:00