taiyang-li
aa3d67e2d6
fix bugs
2023-01-29 20:48:46 +08:00
taiyang-li
fa6dea8b6b
remove useless code
2023-01-29 19:50:30 +08:00
taiyang-li
eeef2dae77
fix cores
2023-01-29 19:48:46 +08:00
taiyang-li
952058e69e
fix core
2023-01-29 15:42:42 +08:00
taiyang-li
7f3114d806
merge master and solve conflicts
2023-01-29 09:59:16 +08:00
Alexander Tokmakov
c366806c3e
Merge pull request #45527 from ClickHouse/exception_message_patterns4
...
Better formatting for exception messages 2
2023-01-27 15:31:52 +03:00
Alexander Tokmakov
067b1f5f13
Merge branch 'master' into exception_message_patterns4
2023-01-26 15:20:58 +01:00
Maksim Kita
a19346b59a
OptimizeGroupByFunctionKeysPass style fixes
2023-01-26 12:48:12 +01:00
Maksim Kita
32129ca7dc
Fixed build
2023-01-26 12:47:50 +01:00
Maksim Kita
6d3a5241e8
QueryTreePassManager refactor passes to use QueryNode, UnionNode scope context
2023-01-26 12:47:50 +01:00
Maksim Kita
8e6593f367
Fixed code review issues
2023-01-26 12:46:58 +01:00
Maksim Kita
b538fae749
Analyzer SETTINGS push down
2023-01-26 12:46:58 +01:00
Maksim Kita
7a8a8dcd2f
Merge pull request #45415 from ClickHouse/redundant-group-by-keys
...
Remove redundant group by keys with constants
2023-01-26 14:45:25 +03:00
Alexander Tokmakov
3744fa2c63
format more messages
2023-01-25 21:16:42 +01:00
Dmitry Novik
f71c213aff
Merge branch 'master' into column-source-check
2023-01-25 12:53:36 +01:00
Alexander Tokmakov
bb4c8e169f
check number of parameters in format string
2023-01-23 23:16:16 +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
Dmitry Novik
796b362e2d
Make ColumnNode::isEqualImpl more strict
2023-01-23 17:33:57 +00:00
Maksim Kita
e6ee5554d1
Fixed tests
2023-01-20 11:15:13 +01:00
Maksim Kita
3363f7c718
Added GroupingFunctionsResolvePass
2023-01-19 19:06:02 +01:00
Dmitry Novik
fff9fd4f00
Remove redundant group by keys with constants
2023-01-18 17:44:06 +00:00
Dmitry Novik
11701d0ff5
Resolve OR function after modification
2023-01-18 17:17:16 +00:00
Dmitry Novik
df26f4fc37
Revert "Revert "Support optimize_or_like_chain in QueryTreePassManager""
2023-01-18 18:14:03 +01:00
Anton Popov
5df0f91857
Revert "Support optimize_or_like_chain in QueryTreePassManager"
2023-01-18 17:34:19 +01:00
Maksim Kita
cabcc761ed
Merge pull request #45357 from kitaisreal/analyzer-compound-identifier-typo-correction-fix
...
Analyzer compound identifier typo correction fix
2023-01-18 17:59:32 +03:00
Maksim Kita
3a550691c9
Merge pull request #42797 from ClickHouse/or-like-chain
...
Support optimize_or_like_chain in QueryTreePassManager
2023-01-18 13:09:33 +03:00
Maksim Kita
21b94813ad
Fixed code review issues
2023-01-18 11:02:29 +01:00
Dmitry Novik
3b0ac7272c
Update reference files
2023-01-18 00:30:30 +00:00
Dmitry Novik
752aed696a
Merge remote-tracking branch 'origin/master' into group-by-function-elimination
2023-01-17 23:33:33 +00:00
Maksim Kita
4f7f2ed9e1
Merge pull request #45300 from ClickHouse/revert-45299-revert-44882-function-node-validation
...
Revert "Revert "Validate function arguments in query tree""
2023-01-17 21:51:26 +03:00
Maksim Kita
d758d83937
Analyzer compound identifier typo correction fix
2023-01-17 14:29:48 +01:00
Maksim Kita
d6a36b1d16
Fixed code review issues
2023-01-17 12:02:50 +01:00
Maksim Kita
af716ca25d
Fixed tests
2023-01-17 11:20:24 +01:00
Maksim Kita
250c93614c
Revert "Revert "Validate function arguments in query tree""
2023-01-17 11:20:24 +01:00
SmitaRKulkarni
bb4f251448
Merge branch 'master' into 42648_Support_scalar_subqueries_cache
2023-01-17 08:10:25 +01:00
Dmitry Novik
104e55bc22
Merge remote-tracking branch 'origin/master' into or-like-chain
2023-01-16 18:56:22 +00:00
Dmitry Novik
aa2a19eaa4
Use proper map for QueryTreeNode
2023-01-16 18:43:22 +00:00
Dmitry Novik
0aecc9ad80
Updates after the review
2023-01-16 17:43:36 +00:00
Maksim Kita
cd2d794c99
Merge branch 'master' into 42648_Support_scalar_subqueries_cache
2023-01-16 13:49:43 +03:00
Maksim Kita
8f5250e000
Revert "Validate function arguments in query tree"
2023-01-16 10:14:34 +01:00
Maksim Kita
60d2a0bf7f
Merge pull request #44882 from ClickHouse/function-node-validation
...
Validate function arguments in query tree
2023-01-16 11:31:02 +03:00
Dmitry Novik
3d23654720
Skip validation of function IN
2023-01-13 23:10:16 +00:00
Nikolay Degterinsky
36c20bf293
Merge remote-tracking branch 'upstream/master' into better_asterisk_parser
2023-01-13 19:15:55 +00:00
Smita Kulkarni
d132d30707
Addressed review comments - 42648 Support scalar subqueries cache
2023-01-13 17:28:35 +01:00
Maksim Kita
dc24d831cf
Merge pull request #42970 from ClickHouse/optimize-redundant-function
...
Implement optimize_redundant_functions_in_order_by on top of QueryTree.
2023-01-13 17:36:56 +03:00
Maksim Kita
05b1b78104
Merge pull request #44013 from kitaisreal/analyzer-aggregate-functions-passes-small-fixes
...
Analyzer aggregate functions passes small fixes
2023-01-13 17:31:53 +03:00
Maksim Kita
296dc5006d
Fixed tests
2023-01-13 10:59:26 +01:00
Maksim Kita
47f4159909
Analyzer support distributed queries processing
2023-01-12 12:07:58 +01:00
Maksim Kita
2f0eabab54
Fixed tests
2023-01-12 11:30:55 +01:00
Dmitry Novik
5fb1f9db19
Reformat code
2023-01-12 00:29:56 +00:00
Dmitry Novik
5b43202015
Merge remote-tracking branch 'origin/master' into group-by-function-elimination
2023-01-12 00:00:49 +00:00
Dmitry Novik
ba3b828ae7
Fix style
2023-01-11 21:07:26 +00:00
Dmitry Novik
98427319e0
Fix style check
2023-01-11 19:54:12 +00:00
Dmitry Novik
7112d4ec83
Improve exception message
2023-01-11 19:21:07 +00:00
Dmitry Novik
93eb0f25e4
Merge remote-tracking branch 'origin/master' into function-node-validation
2023-01-11 19:16:53 +00:00
Dmitry Novik
d17890369e
Skip lambdas during validation
2023-01-11 19:09:58 +00:00
Maksim Kita
f1947b94de
Fixed tests
2023-01-11 11:10:06 +01:00
Maksim Kita
eac7a07f3f
Analyzer AggregateFunctionsArithmeticOperationsPass fix
2023-01-11 10:20:30 +01:00
Maksim Kita
82271d6c4b
Analyzer SumIfToCountIfPass crash fix
2023-01-11 10:20:30 +01:00
Maksim Kita
9a46d9bcff
Merge pull request #44508 from kitaisreal/analyzer-duplicate-alias-crash-fix
...
Analyzer duplicate alias crash fix
2023-01-11 12:14:26 +03:00
李扬
ef11a6c281
Merge branch 'master' into optimize_aggregate_function_withif
2023-01-11 10:40:38 +08:00
Dmitry Novik
6027b8ee4d
Remove redundant code
2023-01-10 23:23:07 +00:00
Dmitry Novik
b7fdc10271
Merge remote-tracking branch 'origin/master' into fix-aggregation-planner
2023-01-10 22:24:50 +00:00
Dmitry Novik
b1bd1bae47
Merge remote-tracking branch 'origin/master' into or-like-chain
2023-01-10 19:19:45 +00:00
Dmitry Novik
44a9facdf2
Fix warning
2023-01-10 19:19:13 +00:00
Maksim Kita
a7d5a5d280
Merge pull request #45059 from kitaisreal/analyzer-array-join-crash-fix
...
Analyzer ARRAY JOIN crash fix
2023-01-10 15:14:24 +03:00
Maksim Kita
c95925a5ab
Fixed tests
2023-01-10 11:16:29 +01:00
Maksim Kita
4236bc32ee
Analyzer duplicate alias crash fix
2023-01-09 16:38:18 +01:00
Maksim Kita
f96cdc7e47
Analyzer function IN crash fix
2023-01-09 15:35:14 +01:00
Maksim Kita
5809c6a325
Analyzer ARRAY JOIN crash fix
2023-01-09 13:16:10 +01:00
Dmitry Novik
2ed4d3e8e6
Fix build
2023-01-06 19:24:56 +00:00
Dmitry Novik
5f43a79ad6
Merge remote-tracking branch 'origin/master' into or-like-chain
2023-01-06 17:22:56 +00:00
Dmitry Novik
712de132d9
Fix special build
2023-01-04 16:05:05 +00:00
Dmitry Novik
1dd32c8336
Validate function arguments in query tree
2023-01-03 19:39:46 +00:00
Dmitry Novik
15f20cb4e8
Fix column comparison
2023-01-03 18:13:31 +00:00
Dmitry Novik
11fa29d243
Get rid of recursion
2023-01-03 17:59:04 +00:00
Dmitry Novik
0271b176d4
Fix function resolution
2023-01-03 17:07:57 +00:00
Dmitry Novik
a84318af5f
Merge branch 'master' into cleanup-resolved-function
2023-01-03 17:52:29 +01:00
Dmitry Novik
6386e83953
Fixes after review
2023-01-03 16:50:06 +00:00
taiyang-li
eb698ea322
change as request
2023-01-03 11:28:35 +08:00
Dmitry Novik
09d9ac6c8e
Simplify code
2023-01-02 19:09:45 +00:00
Dmitry Novik
0a42d698ac
Fixes after review
2023-01-02 18:49:29 +00:00
Dmitry Novik
0ecf6164ac
Add tests
2023-01-02 18:10:43 +00:00
Dmitry Novik
6e8191367c
Fixup
2023-01-02 18:10:43 +00:00
Dmitry Novik
6ae0ffe8d2
Implement optimize_redundant_functions_in_order_by
2023-01-02 18:10:43 +00:00
Dmitry Novik
c90e6640ee
Rebase on master
2023-01-02 17:04:33 +00:00
Dmitry Novik
5295cb0e94
Correctrly enable optimize_or_like_chain
2022-12-29 18:49:58 +00:00
Dmitry Novik
a4614903cd
Small refactoring
2022-12-29 18:48:42 +00:00
Dmitry Novik
b4cd36b67a
Support optimize_or_like_chain in QueryTreePassManager
2022-12-29 18:48:42 +00:00
vdimir
c50e1863d6
Apply aggregate_functions_null_for_empty in QueryAnalysisPass
2022-12-28 18:17:55 +00:00
vdimir
82e664baad
Correct function result type in CustomizeFunctionsPass
2022-12-28 16:19:27 +00:00
Kruglov Pavel
e981b2e78b
Merge pull request #43813 from Avogar/fix-sum-if
...
Better handling of NULL in aggregate combinators, fix possible segfault/logical error
2022-12-27 16:50:48 +01:00
Dmitry Novik
e481c0bae5
Cleanup code
2022-12-23 18:23:01 +00:00
Dmitry Novik
cff882d506
Merge remote-tracking branch 'origin/master' into refector-function-node
2022-12-22 21:34:29 +00:00
Smita Kulkarni
e3d08d3dad
Removed unused ignore_constant from IsEqual for QueryNode comparsion - 42648 Support scalar subqueries cache
2022-12-22 18:52:29 +01:00
Smita Kulkarni
e6ab6bda92
Merge branch 'master' into 42648_Support_scalar_subqueries_cache
2022-12-22 18:38:41 +01:00
Smita Kulkarni
5bcda7d7b9
Removed QueryNodeTable with IgnoreConstant as its no longer needed - 42648 Support scalar subqueries cache
2022-12-22 18:36:27 +01:00
vdimir
3b483e513f
Default value for optional in SortNode::updateTreeHashImpl
2022-12-21 15:04:12 +00:00
Dmitry Novik
a760bbc700
Fix resolve in IfTransformStringsToEnumPass
2022-12-19 16:04:03 +00:00
avogar
3f17d05a30
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-sum-if
2022-12-16 14:47:07 +00:00