Kruglov Pavel
|
20379d34d5
|
Merge branch 'master' into variant-data-type
|
2024-01-19 23:17:42 +01:00 |
|
Yarik Briukhovetskyi
|
e28fd94e1c
|
fix style
|
2024-01-19 20:19:34 +01:00 |
|
yariks5s
|
76b43a6aba
|
small changes(revert)
|
2024-01-19 18:13:05 +00:00 |
|
Jiebin Sun
|
e9662d4d62
|
polish the code and adjust some code style
|
2024-01-20 01:43:06 +08:00 |
|
Dmitry Novik
|
d8b5623c67
|
Analyzer: Support GROUP BY injective function elimination
|
2024-01-19 14:00:12 +00:00 |
|
vdimir
|
b8340afddf
|
Merge pull request #58943 from ClickHouse/vdimir/analyzer_column_not_found
Analyzer: fix join column not found with compound identifiers
|
2024-01-19 10:40:03 +01:00 |
|
Jiebin Sun
|
0fb7d2290c
|
Update src/Analyzer/Passes/RewriteSumFunctionWithSumAndCountPass.cpp
Co-authored-by: Raúl Marín <git@rmr.ninja>
|
2024-01-19 17:01:11 +08:00 |
|
Yakov Olkhovskiy
|
43aaccdaa1
|
clang tidy
|
2024-01-18 19:17:05 +00:00 |
|
Yakov Olkhovskiy
|
b914938c4c
|
clenup
|
2024-01-18 18:10:54 +00:00 |
|
Yakov Olkhovskiy
|
bb1058e2b2
|
fix storage replacement with insertion block for analyzer
|
2024-01-18 17:59:23 +00:00 |
|
Kruglov Pavel
|
5444cde408
|
Merge branch 'master' into variant-data-type
|
2024-01-18 18:31:27 +01:00 |
|
Anton Popov
|
d2142041cd
|
Merge remote-tracking branch 'upstream/master' into HEAD
|
2024-01-18 16:03:54 +00:00 |
|
yariks5s
|
6ad6d6a121
|
fix due to review
|
2024-01-18 15:41:25 +00:00 |
|
vdimir
|
f2e73c13a9
|
Analyzer: fix join column not found with compound identifiers
|
2024-01-18 12:30:28 +00:00 |
|
Jiebin Sun
|
206e1c87e0
|
revise the comments
|
2024-01-18 19:07:02 +08:00 |
|
Anton Popov
|
94bb9a171d
|
fix FunctionToSubcolumnsPass
|
2024-01-17 21:36:23 +00:00 |
|
Dmitry Novik
|
3a1c3638e8
|
Style fix
|
2024-01-17 15:04:50 +00:00 |
|
Yarik Briukhovetskyi
|
38914ef70c
|
Update QueryAnalysisPass.cpp
|
2024-01-17 15:48:26 +01:00 |
|
Yarik Briukhovetskyi
|
f05733e7b8
|
Update QueryAnalysisPass.cpp
|
2024-01-17 15:28:02 +01:00 |
|
Jiebin Sun
|
784cab638a
|
rename some function_name and add more tests
|
2024-01-17 22:10:08 +08:00 |
|
yariks5s
|
66f71008b3
|
revert and fix
|
2024-01-16 15:36:43 +00:00 |
|
vdimir
|
d2dccf9a22
|
Merge pull request #49703 from ClickHouse/vdimir/analyzer_join_resolve_nested
Analyzer: Fix resolving subcolumns in JOIN
|
2024-01-16 11:24:02 +01:00 |
|
Alexey Milovidov
|
8973e7d873
|
Merge pull request #58833 from ClickHouse/fix-analyzer-remote-aggregation
Analyzer: Resolve GROUPING function on shards
|
2024-01-15 23:33:14 +01:00 |
|
yariks5s
|
b4f078e5cc
|
fix bug with several joins
|
2024-01-15 16:49:42 +00:00 |
|
Dmitry Novik
|
de115c4da7
|
Fix for passes that use column source
|
2024-01-15 16:25:39 +00:00 |
|
Dmitry Novik
|
0f7daeffc8
|
Analyzer: Resolve GROUPING function on shards
|
2024-01-15 16:02:37 +00:00 |
|
vdimir
|
e9ab8e8a7d
|
update comment to check_nested_column_not_in_using
|
2024-01-15 10:58:37 +00:00 |
|
Yakov Olkhovskiy
|
62660e6e84
|
Merge pull request #58703 from ClickHouse/imp-error-message
Add identifier name to the error INVALID_IDENTIFIER
|
2024-01-14 07:46:33 -05:00 |
|
Yakov Olkhovskiy
|
ef880657ce
|
replace BAD_ARGUMENTS error with INVALID_IDENTIFIER
|
2024-01-12 11:34:35 -05:00 |
|
Dmitry Novik
|
a3dcd350dd
|
Merge pull request #58723 from ClickHouse/fix-analyzer-count-distinct-pass
Analyzer: Fix LOGICAL_ERROR in CountDistinctPass
|
2024-01-12 09:06:39 +01:00 |
|
Dmitry Novik
|
f41c6b0e6b
|
Analyzer: Fix LOGICAL_ERROR in CountDistinctPass
|
2024-01-11 19:11:42 +00:00 |
|
yariks5s
|
567e5d378e
|
fixes
|
2024-01-11 15:43:17 +00:00 |
|
yariks5s
|
92c6eba922
|
avoiding only for paste join now
|
2024-01-10 18:18:50 +00:00 |
|
Robert Schulze
|
52d75ab68f
|
Merge pull request #58458 from rschu1ze/replace-std_regexp-by-re2
Replace `std::regex` by re2
|
2024-01-10 17:46:54 +01:00 |
|
yariks5s
|
f656a6d799
|
errors fix
|
2024-01-10 15:16:53 +00:00 |
|
Yarik Briukhovetskyi
|
d1f00b5b22
|
Merge branch 'master' into paste_join_aliases_requirement
|
2024-01-10 15:22:03 +01:00 |
|
yariks5s
|
7a1c1a3b62
|
analyzer implementation
|
2024-01-10 13:38:46 +00:00 |
|
vdimir
|
2c68bdecd8
|
add comment to check_nested_column_not_in_using
|
2024-01-10 13:35:33 +00:00 |
|
Dmitry Novik
|
b2bf1372aa
|
Merge pull request #58457 from ClickHouse/analyzer-fuzz-low-condinality
Analyzer: Fix LOGICAL_ERROR with LowCardinality
|
2024-01-10 11:06:42 +01:00 |
|
vdimir
|
25268fb863
|
Analyzer: Fix resolving subcolumns in JOIN
|
2024-01-09 19:05:44 +00:00 |
|
Dmitry Novik
|
629d4b921e
|
Fix style
|
2024-01-09 15:38:04 +00:00 |
|
Dmitry Novik
|
11280cbde1
|
Merge remote-tracking branch 'origin/master' into storage-merge-aliases-analyzer
|
2024-01-09 15:10:59 +00:00 |
|
Jiebin Sun
|
22aadc7f5d
|
add the default action for get()
|
2024-01-09 00:39:39 +08:00 |
|
Kruglov Pavel
|
b947609b8e
|
Merge branch 'master' into variant-data-type
|
2024-01-08 15:04:51 +01:00 |
|
flynn
|
e2588850f6
|
Fix conflict
|
2024-01-08 11:36:19 +00:00 |
|
Jiebin Sun
|
7bbeaf461f
|
Merge pull request #6 from jiebinn/master
Update to the latest upstream
|
2024-01-08 15:49:50 +08:00 |
|
Jiebin Sun
|
dfc8e79511
|
Add the Analyzer implementation for the RewriteSumFunctionWithSumAndCount
Signed-off-by: Jiebin Sun <jiebin.sun@intel.com>
|
2024-01-08 23:58:13 +08:00 |
|
Robert Schulze
|
f553b55e3a
|
Merge remote-tracking branch 'rschu1ze/master' into regex-std-re2
|
2024-01-07 22:31:35 +00:00 |
|
Robert Schulze
|
8e804487f3
|
Some fixups
|
2024-01-07 22:28:08 +00:00 |
|
Nikolai Kochetov
|
80c1e59d3f
|
Merge branch 'master' into analyzer-execution-names
|
2024-01-05 09:31:25 +00:00 |
|
Dmitry Novik
|
558d103f96
|
Apply optimization only in case of type match
|
2024-01-03 16:18:00 +00:00 |
|
Kruglov Pavel
|
4d8cf71ba7
|
Merge branch 'master' into variant-data-type
|
2024-01-03 15:21:23 +01:00 |
|
Raúl Marín
|
ff90f64bc1
|
Merge remote-tracking branch 'blessed/master' into speedup_numbers
|
2024-01-03 13:33:22 +00:00 |
|
Alexey Milovidov
|
e1812f3b58
|
Merge pull request #58266 from ClickHouse/vdimir/simple_fix_tuple_elimination
Analyzer: fix tuple comparison when result is always null
|
2023-12-30 13:02:38 +01:00 |
|
Raúl Marín
|
bda6104f84
|
Replace std::iota with DB::iota where possible
|
2023-12-29 14:38:22 +01:00 |
|
flynn
|
2e9cdd17ef
|
Fix flaky test
|
2023-12-28 15:57:25 +00:00 |
|
avogar
|
275fbe3e98
|
Support function to subcolumns optimization for Variant, better text priority for reading Bool
|
2023-12-27 20:04:14 +00:00 |
|
vdimir
|
1137461aaf
|
Analyzer: fix tuple comparison when result is always null
|
2023-12-27 18:19:39 +00:00 |
|
Kruglov Pavel
|
745d9bb47f
|
Merge pull request #58214 from kevinmingtarja/optimize-long-and-notequals-chain
Add optimization for AND notEquals chain in logical expression optimizer
|
2023-12-27 15:51:59 +01:00 |
|
Kevin Mingtarja
|
3d7596da4b
|
Rename test, fix style
|
2023-12-27 17:28:01 +07:00 |
|
Azat Khuzhin
|
3be3b0a280
|
Fix incorrect Exceptions
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
|
2023-12-24 21:26:32 +01:00 |
|
Kevin Mingtarja
|
807d815df1
|
Merge branch 'master' into optimize-long-and-notequals-chain
|
2023-12-24 18:49:30 +00:00 |
|
Kevin Mingtarja
|
5416bd6e93
|
Add optimization for AND notEquals chain to NOT IN
|
2023-12-24 13:26:41 +00:00 |
|
vdimir
|
b06ae8bcee
|
Merge pull request #57139 from ClickHouse/vdimir/fix_logical_error_analyzer_and_optimize
Analyzer: Fix assert in tryReplaceAndEqualsChainsWithConstant
|
2023-12-22 13:15:24 +01:00 |
|
vdimir
|
c08a490578
|
Fix nullability after tryReplaceOrEqualsChainWithIn
|
2023-12-21 14:30:54 +00:00 |
|
vdimir
|
a78b00a854
|
Analyzer: Fix assert in tryReplaceAndEqualsChainsWithConstant
|
2023-12-20 15:44:05 +00:00 |
|
Robert Schulze
|
a8845ba729
|
Reorganize the test (a bit) + whitespace fixes
|
2023-12-19 08:16:54 +00:00 |
|
ubuntu
|
a077ad4c15
|
support new analyzer
|
2023-12-19 15:18:27 +08:00 |
|
Nikolai Kochetov
|
288888f950
|
Another try.
|
2023-12-16 15:41:02 +00:00 |
|
Nikolai Kochetov
|
fd64599127
|
Re-visit subquery for IN in CreateUniqueTableAliasesVisitor.
|
2023-12-15 15:15:07 +00:00 |
|
Nikolai Kochetov
|
5c1ed3e2c2
|
Fix additional filters.
|
2023-12-15 13:00:10 +00:00 |
|
Nikolai Kochetov
|
c05c232974
|
Merge branch 'master' into analyzer-execution-names
|
2023-12-13 17:21:26 +01:00 |
|
Nikolai Kochetov
|
093431be99
|
Fix some tests.
|
2023-12-13 14:21:42 +00:00 |
|
Raúl Marín
|
8c2137e0c6
|
Revert "Merge pull request #57741 from ucasfl/negtive-position"
This reverts commit 3d846800e0 , reversing
changes made to b31b4c932f .
|
2023-12-13 13:09:36 +01:00 |
|
Nikolai Kochetov
|
3e1dc6bcf9
|
Merge branch 'master' into analyzer-execution-names
|
2023-12-12 19:32:50 +01:00 |
|
Nikolai Kochetov
|
63533ad5bf
|
Merge branch 'master' into analyzer-execution-names
|
2023-12-12 18:30:59 +00:00 |
|
flynn
|
02720cde01
|
Fix
|
2023-12-12 04:06:43 +00:00 |
|
flynn
|
c78649bdcf
|
Support negative positional arguments
|
2023-12-11 10:36:26 +00:00 |
|
vdimir
|
04933ddcc6
|
Analyer: Fix logical error in MultiIfToIfPass
|
2023-12-07 16:11:15 +00:00 |
|
Raúl Marín
|
46acd8736c
|
Merge pull request #57189 from Algunenano/fix_respect_nulls
Fix RESPECT NULLS
|
2023-11-30 20:21:42 +01:00 |
|
Raúl Marín
|
7fa626bfef
|
Reject NULL actions on normal functions and fix serialization
|
2023-11-30 13:16:51 +01:00 |
|
vdimir
|
20ce32f69a
|
Use original function name instead of nothing in FunctionNode::toAST
|
2023-11-28 14:16:01 +00:00 |
|
vdimir
|
6c229ab574
|
Clone original ast durin cloning query tree node
|
2023-11-28 11:54:18 +00:00 |
|
vdimir
|
9a793bcd03
|
Revert fix result type of aggregate function with NULL
|
2023-11-28 10:11:38 +00:00 |
|
vdimir
|
1f474a870a
|
Add extra argument to function 'nothing' only in QueryAnalysisPass
|
2023-11-28 10:11:38 +00:00 |
|
vdimir
|
04baafccba
|
Analyzer: fix result type of aggregate function with NULL
|
2023-11-28 10:11:34 +00:00 |
|
Raúl Marín
|
9fb19b5cb4
|
Merge remote-tracking branch 'blessed/master' into fix_respect_nulls
|
2023-11-27 19:42:58 +01:00 |
|
Raúl Marín
|
bada4a561c
|
Small cleanup
|
2023-11-27 11:00:27 +01:00 |
|
Raúl Marín
|
4250c6626c
|
Move handling of RESPECT NULLS outside of the parser
|
2023-11-27 11:00:27 +01:00 |
|
Raúl Marín
|
d4290ade61
|
Remove optimize_move_functions_out_of_any optimization
|
2023-11-24 12:20:46 +01:00 |
|
vdimir
|
db4aa19f90
|
Fix FunctionNode::toASTImpl
|
2023-11-23 12:08:41 +00:00 |
|
vdimir
|
7fb4a90d0b
|
Analyzer: Fix logical error in LogicalExpressionOptimizerVisitor
|
2023-11-22 16:34:31 +00:00 |
|
vdimir
|
8f34b36293
|
Merge pull request #56538 from ClickHouse/vdimir/join_on_nullsafe_optimization
Rewrite equality with is null check in JOIN ON section
|
2023-11-21 14:17:58 +01:00 |
|
Dmitry Novik
|
1ba49d17dd
|
Fix crash when remote() argument is a table function
|
2023-11-21 00:26:27 +01:00 |
|
Dmitry Novik
|
1b8b090a0d
|
Merge remote-tracking branch 'origin/master' into analyzer-execution-names
|
2023-11-20 22:52:26 +01:00 |
|
vdimir
|
06c6282eb7
|
fix build
|
2023-11-20 13:46:37 +01:00 |
|
vdimir
|
28bb76d568
|
address review comments
|
2023-11-20 13:21:46 +01:00 |
|
Nikolai Kochetov
|
78dfbbfacb
|
Merge pull request #56499 from kitaisreal/analyzer-remove-unused-projection-columns
Analyzer remove unused projection columns
|
2023-11-16 17:40:32 +01:00 |
|
vdimir
|
6ad0e9066a
|
Rerun resolve in JoinOnLogicalExpressionOptimizerVisitor
|
2023-11-16 10:31:11 +00:00 |
|
vdimir
|
bdeb04f7d3
|
Exctract JOIN ON visitor from LogicalExpressionOptimizerVisitor
|
2023-11-16 10:31:10 +00:00 |
|