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 |
|
Smita Kulkarni
|
16e682e0ae
|
Merge branch 'master' into Support_parameterized_view_with_analyzer
|
2024-01-07 16:38:01 +01:00 |
|
Smita Kulkarni
|
4be844509e
|
Merge branch 'master' into Support_parameterized_view_with_analyzer
|
2024-01-05 13:58:07 +01: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 |
|
Smita Kulkarni
|
08d5b8cc1d
|
Merge branch 'master' into Support_parameterized_view_with_analyzer
|
2023-12-22 14:08:33 +01: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 |
|
Smita Kulkarni
|
ba4a266d5b
|
Merge branch 'master' into Support_parameterized_view_with_analyzer
|
2023-11-20 11:50:20 +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 |
|
vdimir
|
05163be79c
|
fix clang tidy
|
2023-11-15 15:51:01 +00:00 |
|
vdimir
|
fbaa6a4e54
|
Optimize equality with is null check in JOIN ON section
|
2023-11-15 15:50:54 +00:00 |
|
Alexey Milovidov
|
94a2b08c33
|
Merge pull request #56708 from Avogar/fix-use-structure-from-table-with-analyzer
Fix use_structure_from_insertion_table_in_table_functions with new Analyzer
|
2023-11-15 08:33:00 +01:00 |
|
Maksim Kita
|
13518633a8
|
Fixed tests
|
2023-11-14 21:26:16 +03:00 |
|
Maksim Kita
|
dc73819a38
|
Updated implementation
|
2023-11-14 21:26:16 +03:00 |
|
Maksim Kita
|
5f009e99f6
|
Updated implementation
|
2023-11-14 21:26:16 +03:00 |
|
Maksim Kita
|
d24eb8bebd
|
Analyzer remove unused projection columns
|
2023-11-14 21:25:50 +03:00 |
|
Nikolai Kochetov
|
3096edf3ef
|
Merge pull request #50857 from ClickHouse/fix-analyzer-mv-scalars
Fix analyzer - insertion from select with subquery referencing insertion table should process only insertion block.
|
2023-11-14 13:58:38 +01:00 |
|
avogar
|
ae05f4f604
|
Fix use_structure_from_insertion_table_in_table_functions with new Analyzer
|
2023-11-14 11:45:10 +00:00 |
|
Maksim Kita
|
504cc33a2a
|
Analyzer special functions projection names fix
|
2023-11-11 12:49:33 +03:00 |
|
Yakov Olkhovskiy
|
477c90729d
|
Merge remote-tracking branch 'origin/master' into fix-analyzer-mv-scalars
|
2023-11-10 19:06:30 +00:00 |
|
Yakov Olkhovskiy
|
7baca92766
|
Merge remote-tracking branch 'origin/master' into fix-analyzer-mv-scalars
|
2023-11-10 14:14:22 +00:00 |
|
Nikolai Kochetov
|
0898cf3e06
|
Merge pull request #56520 from kitaisreal/analyzer-move-functions-out-of-any-pass-refactoring
Analyzer MoveFunctionsOutOfAnyPass refactoring
|
2023-11-10 12:27:14 +01:00 |
|
Yakov Olkhovskiy
|
2544a15c94
|
optimization, comment
|
2023-11-10 05:59:24 +00:00 |
|
Maksim Kita
|
bf37f05ccd
|
Analyzer log used row policies
|
2023-11-09 19:43:31 +03:00 |
|
Maksim Kita
|
aa8d65a86c
|
Analyzer MoveFunctionsOutOfAnyPass refactoring
|
2023-11-09 19:42:55 +03:00 |
|
Dmitry Novik
|
73fc8c8f4b
|
Merge pull request #55951 from ClickHouse/analyzer-fix-nullable-crash
Analyzer: Fix result type after IfConstantConditionPass
|
2023-11-03 17:12:27 +01:00 |
|
Nikolai Kochetov
|
554ceb4e1d
|
Merge branch 'master' into planner-prepare-filters-for-analysis-2
|
2023-10-30 11:56:30 +01:00 |
|
Alexey Milovidov
|
88440d4c07
|
Merge pull request #54568 from JackyWoo/optimize_uniq_to_count2
Resubmit optimization uniq to count
|
2023-10-30 01:33:36 +01:00 |
|
Dmitry Novik
|
c634c43662
|
Update src/Analyzer/Passes/QueryAnalysisPass.cpp
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
|
2023-10-27 16:47:06 +02:00 |
|
Dmitry Novik
|
7cc4b8b1ae
|
Analyzer: Fix crash on window resolve
|
2023-10-26 17:07:26 +00:00 |
|
Dmitry Novik
|
f176177b78
|
Make optimization pessimistic
|
2023-10-26 15:41:16 +00:00 |
|
Dmitry Novik
|
dd7f81adeb
|
Update src/Analyzer/Utils.cpp
|
2023-10-25 17:05:04 +02:00 |
|
Dmitry Novik
|
394edd57d5
|
Merge branch 'master' into analyzer-fix-nullable-crash
|
2023-10-25 16:46:08 +02:00 |
|
Dmitry Novik
|
7e3be7f439
|
Fix style
|
2023-10-25 15:52:03 +02:00 |
|
Dmitry Novik
|
f209b5c2a9
|
Fix InDepthQueryTreeVisitorWithContext::visitChildren
|
2023-10-25 14:39:50 +02:00 |
|
Dmitry Novik
|
6d5b379c23
|
Improve exception
|
2023-10-25 01:40:38 +02:00 |
|
Dmitry Novik
|
4af38660f2
|
Analyzer: Fix result type after IfConstantConditionPass
|
2023-10-23 19:09:38 +02:00 |
|
alesapin
|
692fcd8422
|
Merge remote-tracking branch 'origin/master' into repro_49887
|
2023-10-16 10:39:16 +02:00 |
|
vdimir
|
a799d4ec62
|
Fix 01049_join_low_card_bug_long
|
2023-10-12 10:45:55 +00:00 |
|
alesapin
|
e364ed61a6
|
Proper fix
|
2023-10-11 17:42:44 +02:00 |
|
vdimir
|
2875ea4bbc
|
[wip] Fixing 01049_join_low_card_bug_long
|
2023-10-11 10:54:53 +00:00 |
|
JackyWoo
|
d23d976f57
|
Merge branch 'master' into optimize_uniq_to_count2
|
2023-10-07 09:04:57 +08:00 |
|
Nikolai Kochetov
|
d944b59902
|
Merge branch 'master' into planner-prepare-filters-for-analysis-2
|
2023-10-03 14:28:16 +00:00 |
|
JackyWoo
|
c40558a961
|
Fix uniq function name
|
2023-09-27 09:14:24 +08:00 |
|
VanDarkholme7
|
9d74502488
|
Merge branch 'ClickHouse:master' into missing_subcolumns
|
2023-09-26 13:48:16 +08:00 |
|
VanDarkholme7
|
7dda1646fd
|
fix
|
2023-09-26 02:32:05 +00:00 |
|
Smita Kulkarni
|
45a19b2331
|
Merge branch 'master' into Support_parameterized_view_with_analyzer
|
2023-09-25 14:51:41 +02:00 |
|
JackyWoo
|
c4ae83bddc
|
Merge branch 'master' into optimize_uniq_to_count2
|
2023-09-25 10:23:30 +08:00 |
|
JackyWoo
|
332cb47af8
|
compare function name in lower case
|
2023-09-25 10:22:56 +08:00 |
|
Alexey Milovidov
|
06415c7a53
|
Merge pull request #52082 from JackyWoo/rewrite_move_functions_out_of_any
|
2023-09-23 22:22:45 +03:00 |
|
Alexey Milovidov
|
cf080677bf
|
Simplify code
|
2023-09-23 22:22:27 +03:00 |
|
JackyWoo
|
307015bc48
|
Merge branch 'master' into rewrite_move_functions_out_of_any
|
2023-09-21 11:11:03 +08:00 |
|
avogar
|
3e08800cb5
|
Forbid special columns for file/s3/url/... storages, fix insert into ephemeral columns from files
|
2023-09-20 16:25:55 +00:00 |
|
VanDarkholme7
|
783b48b730
|
Merge branch 'ClickHouse:master' into missing_subcolumns
|
2023-09-19 10:33:06 +08:00 |
|
JackyWoo
|
231d16040b
|
Merge branch 'master' into optimize_uniq_to_count2
|
2023-09-19 10:29:03 +08:00 |
|
VanDarkholme7
|
349b868a62
|
Replace missed Object(Nullable(json)) subcolumns with new analyzer
|
2023-09-19 09:57:18 +08:00 |
|
Kruglov Pavel
|
3aaaf7600c
|
Merge pull request #54655 from Avogar/fix-use-structure-from-insertion-table
Fix using structure from insertion tables in case of defaults and explicit insert columns
|
2023-09-18 18:54:28 +02:00 |
|
Robert Schulze
|
f5e8028bb1
|
Merge pull request #54642 from rschu1ze/broken-re2st
Remove broken lockless variant of re2
|
2023-09-17 15:30:57 +02:00 |
|
avogar
|
b9c28ef1f7
|
Fix for analyzer
|
2023-09-14 20:10:07 +00:00 |
|
avogar
|
93c49dfeaa
|
Fix using structure from insertion tables in case of defaults and explicit insert columns
|
2023-09-14 19:31:12 +00:00 |
|
Robert Schulze
|
7b378dbad3
|
Remove broken lockless variant of re2
|
2023-09-14 16:40:42 +00:00 |
|
JackyWoo
|
70a262a775
|
Add optimization uniq to count
|
2023-09-13 16:16:11 +08:00 |
|
Alexey Milovidov
|
bd4aec0601
|
Revert "Optimize uniq to count"
|
2023-09-13 09:14:06 +03:00 |
|
avogar
|
2d8f33bfa2
|
Fix parsing error in WithNames formats while reading subset of columns with disabled input_format_with_names_use_header
|
2023-09-11 14:55:37 +00:00 |
|
Nikolai Kochetov
|
903c966cc8
|
Merge branch 'master' into planner-prepare-filters-for-analysis-2
|
2023-09-11 16:14:03 +02:00 |
|
Smita Kulkarni
|
83022b7771
|
Added support for parameterized view with analyzer by analyzing the select part with default values
|
2023-09-02 21:56:36 +02:00 |
|
Dmitry Novik
|
99d0f3586f
|
Merge remote-tracking branch 'origin/master' into analyzer-execution-names
|
2023-09-01 17:33:33 +00:00 |
|
Dmitry Novik
|
2a0d883c8b
|
Fix crash
|
2023-09-01 17:33:09 +00:00 |
|
Dmitry Novik
|
ae88180556
|
Fix index generation
|
2023-08-28 17:11:53 +00:00 |
|
Dmitry Novik
|
0a78dc4c57
|
Use scopes for table aliases creation
|
2023-08-28 16:44:25 +00:00 |
|
JackyWoo
|
a963048e1a
|
Merge branch 'master' into optimize_uniq_to_count
|
2023-08-28 11:10:05 +08:00 |
|
Dmitry Novik
|
cfeba3f02e
|
Add a comment
|
2023-08-25 18:01:25 +00:00 |
|
Dmitry Novik
|
ab7b6fcdae
|
Update tests and revert change for ARRAY JOIN
|
2023-08-24 22:32:40 +02:00 |
|
Robert Schulze
|
bdd16a388c
|
Bump boost to 1.82
|
2023-08-24 17:54:13 +00:00 |
|
Nikolai Kochetov
|
fc90a1a0bd
|
Fix some skip_unused_shards tests.
|
2023-08-24 11:07:17 +00:00 |
|
Dmitry Novik
|
aec0f3ede3
|
Do not add pointless aliases to ARRAY JOIN
|
2023-08-23 16:05:03 +00:00 |
|
flynn
|
d071ee7001
|
Merge branch 'master' of github.com:ClickHouse/ClickHouse into scalar
|
2023-08-23 06:25:42 +00:00 |
|
Dmitry Novik
|
7f916c7069
|
Fix table aliases for the queries sent to the shards
|
2023-08-22 17:14:24 +00:00 |
|
Dmitry Novik
|
7e510d9602
|
Analyzer: always qualify execution names
|
2023-08-22 16:24:41 +00:00 |
|
flynn
|
102526a21e
|
fix for analyzer
|
2023-08-12 08:58:43 +00:00 |
|
ltrk2
|
a2054c04dd
|
Merge branch 'master' into feature/mergetree-checksum-big-endian-support
|
2023-08-10 10:21:34 -04:00 |
|
ltrk2
|
139e9433a8
|
Merge branch 'master' into feature/mergetree-checksum-big-endian-support
|
2023-08-09 09:48:00 -04:00 |
|
Alexey Milovidov
|
aa757490bd
|
Ditch tons of garbage
|
2023-08-09 02:19:02 +02:00 |
|
vdimir
|
3131358f79
|
Merge pull request #48754 from ClickHouse/vdimir/decimal_in_precision_analyzer
|
2023-08-08 16:56:32 +02:00 |
|
vdimir
|
8050edaff6
|
style convertFieldToTypeStrict
|
2023-08-04 09:45:13 +00:00 |
|
vdimir
|
0032eb9ab7
|
Fix IN with decimal in analyzer
|
2023-08-04 09:45:08 +00:00 |
|
JackyWoo
|
1aac8bf129
|
fix tests
|
2023-08-03 11:46:26 +08:00 |
|
ltrk2
|
27a2d4d1c7
|
Merge branch 'master' into feature/mergetree-checksum-big-endian-support
|
2023-08-02 11:36:43 -04:00 |
|
Dmitry Novik
|
e369f0da7c
|
Resolve expressions from WITH clause on usage
|
2023-08-02 17:31:47 +02:00 |
|