Commit Graph

1100 Commits

Author SHA1 Message Date
Eduard Karacharov
91c1456141 CNF with mutually exclusive atoms reduction fix 2024-05-23 19:03:56 +03:00
Nikolai Kochetov
d1127bf119 Fix final=1 for distributed over non-mt table. 2024-05-21 08:54:11 +00:00
vdimir
e5ad196317
Merge pull request #62346 from ClickHouse/vdimir/analyzer_comapre_columns
Analyzer: Fix validateAggregates for tables with different aliases
2024-05-17 20:00:04 +00:00
vdimir
aeca94105b
Merge branch 'master' into vdimir/analyzer_comapre_columns 2024-05-17 11:32:17 +02:00
Alexey Milovidov
26501178e6 Fix analyzer 2024-05-17 10:23:32 +02:00
Alexey Milovidov
f9fa5ba32f
Merge pull request #63930 from ClickHouse/fix-analyzer-mv
Fix analyzer: there's turtles all the way down...
2024-05-17 03:46:02 +00:00
Nikolai Kochetov
d314568b93
Merge pull request #63791 from ClickHouse/fix-duplicating-sucling-alias
Fix a query with duplicating cycling alias.
2024-05-16 18:21:25 +00:00
Yakov Olkhovskiy
bdfabc1d40 better comment 2024-05-16 15:44:19 +00:00
Nikolai Kochetov
5debc4af38 Fixing style. 2024-05-16 11:07:13 +00:00
Nikolai Kochetov
17346ad394 Cleanup. 2024-05-16 10:41:19 +00:00
Yakov Olkhovskiy
df90cb79b8 process nested subqueries 2024-05-16 06:48:24 +00:00
Nikolai Kochetov
c93f363be8 Another attempt. 2024-05-15 13:56:56 +00:00
Michael Kolupaev
ab636fd7b4
Merge pull request #63734 from ClickHouse/neg
Fix insignificant UBSAN error in QueryAnalyzer::replaceNodesWithPositionalArguments()
2024-05-14 19:41:30 +00:00
Nikolai Kochetov
1601115ff0
Merge pull request #63744 from ClickHouse/fix-resolve-matcher-in-array-join-lambda
Fix a bug in resolving matcher inside lambda inside ARRAY JOIN
2024-05-14 17:57:13 +00:00
Nikolai Kochetov
6a6688169a
Merge branch 'master' into fix-duplicating-sucling-alias 2024-05-14 19:56:03 +02:00
Nikolai Kochetov
b27c529548 Fix a query with duplicating cycling alias. 2024-05-14 17:51:21 +00:00
Dmitry Novik
7de852fccc
Merge pull request #63694 from ClickHouse/analyzer-small-fix
Analyzer: Forbid WINDOW redefinition
2024-05-14 12:43:43 +00:00
Nikolai Kochetov
7a7002529b Fix a bug in resolving matcher inside lambda inside ARRAY JOIN 2024-05-14 09:54:22 +00:00
vdimir
6f74bebb48
Merge pull request #63405 from ClickHouse/vdimir/group_by_use_nulls_fixes
Small fixes for group_by_use_nulls
2024-05-14 08:45:20 +00:00
Michael Kolupaev
710ceae903 Fix insignificant ubsan error in QueryAnalyzer::replaceNodesWithPositionalArguments() 2024-05-14 08:37:27 +00:00
Nikolai Kochetov
ebd0865fb0
Merge pull request #62922 from ClickHouse/more-cases-for-group-by-use-nulls
group_by_use_nulls strikes back
2024-05-13 18:00:33 +00:00
Dmitry Novik
2458defd01 Analyzer: Forbid WINDOW redefinition 2024-05-13 15:16:35 +02:00
Nikolai Kochetov
bb9652998b Another attemtp. 2024-05-13 12:26:10 +00:00
Alexey Milovidov
23cf6d0d8b Useless changes 2024-05-11 22:51:57 +02:00
Alexey Milovidov
eff0d7cb8b Merge branch 'master' of github.com:ClickHouse/ClickHouse into clang-18-ci 2024-05-11 14:15:38 +02:00
Michael Kolupaev
c1ea1726b4 Remove weird special case in if() return type inference, to match multiIf() 2024-05-10 22:37:35 +00:00
Alexey Milovidov
426a51b624 Useless changes 2024-05-10 04:53:29 +02:00
Alexey Milovidov
1d69518c4d Useless changes 2024-05-09 02:07:04 +02:00
Alexey Milovidov
95f12ef274 Useless changes 2024-05-09 01:08:33 +02:00
Nikolai Kochetov
b2828fc852 Search nullable GB keys from all the parent scopes. 2024-05-08 16:06:38 +00:00
Nikolai Kochetov
880314fa08 Another case. 2024-05-08 11:49:15 +00:00
Nikolai Kochetov
134b468d91 Another case. 2024-05-07 18:14:32 +00:00
vdimir
c67a43e3a7
better 2024-05-07 14:37:39 +00:00
vdimir
fd75522ea8
analyzer: fix select * with grouping sets 2024-05-07 14:20:49 +00:00
Raúl Marín
d5b8d9b7b2
Merge pull request #63162 from kitaisreal/query-analysis-pass-improve-qualify-validation
QueryAnalysisPass improve QUALIFY validation
2024-05-07 12:18:36 +00:00
Nikolai Kochetov
b821f17f69 Merge branch 'master' into more-cases-for-group-by-use-nulls 2024-05-06 17:03:13 +00:00
vdimir
1016d2e0d3
Merge pull request #62995 from ClickHouse/vdimir/array_join_alias_resolve_fix
Analyzer: prefer column name to alias from array join
2024-05-06 10:33:10 +00:00
vdimir
2c22593205
fix style 2024-05-03 18:34:14 +02:00
vdimir
a8c931ac98
fix typo 2024-05-03 15:16:40 +02:00
Raúl Marín
e4c99ed1d5 Merge remote-tracking branch 'blessed/master' into untuple_crash 2024-05-02 15:24:57 +02:00
vdimir
b057b54d24
ValidateGroupByColumnsVisitor::areColumnSourcesEqual 2024-05-02 11:24:33 +00:00
Maksim Kita
a50c41c617 QueryAnalysisPass improve QUALIFY validation 2024-05-02 13:36:23 +03:00
Raúl Marín
89fe970cd2
Merge pull request #62929 from Algunenano/optimize_rewrite_sum_if_to_count_if
Enable optimize_rewrite_sum_if_to_count_if by default
2024-04-30 12:07:24 +00:00
Raúl Marín
10fb28c6ea Fix crash with untuple and unresolved lambda 2024-04-30 13:36:20 +02:00
vdimir
5f75e9847a
revert 2024-04-30 10:52:59 +00:00
Raúl Marín
97774571f1 Merge remote-tracking branch 'blessed/master' into 03132_rewrite_aggregate_function_with_if_implicit_cast 2024-04-29 14:54:23 +02:00
vdimir
d076479097
t 2024-04-29 10:14:41 +00:00
vdimir
3a8ca9a68b
bind only full identifier 2024-04-29 10:01:08 +00:00
Raúl Marín
8df67eb7ed
Merge branch 'master' into optimize_rewrite_sum_if_to_count_if 2024-04-29 11:51:09 +02:00
Maksim Kita
f5cfe597f2 Fixed tests 2024-04-28 12:52:17 +03:00