Maksim Kita
2a327107b6
Updated implementation
2024-01-25 14:31:49 +03:00
Anton Popov
ce1b978a2d
Merge remote-tracking branch 'upstream/master' into HEAD
2024-01-03 16:01:44 +00:00
Yarik Briukhovetskyi
483a377834
Merge pull request #57995 from yariks5s/paste_join
...
Implementing PASTE JOIN
2023-12-22 12:56:06 +01:00
Nikita Mikhaylov
cb6c9557ff
Merge branch 'master' into remove-old-projections-code
2023-12-20 17:45:38 +01:00
Raúl Marín
ccff198265
Rename canUseParallelReplicas to canUseTaskBasedParallelReplicas ( #58025 )
2023-12-19 23:21:19 +01:00
Yarik Briukhovetskyi
6e816d45ae
Merge branch 'master' into paste_join
2023-12-19 20:02:24 +01:00
yariks5s
6740316a88
init
2023-12-18 15:02:51 +00:00
Anton Popov
40a1744b7c
Merge remote-tracking branch 'upstream/master' into HEAD
2023-12-04 18:10:43 +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
vdimir
af81cb8252
Setting JoinAlgorithm respect specified order
2023-11-28 11:01:35 +00:00
Raúl Marín
4250c6626c
Move handling of RESPECT NULLS outside of the parser
2023-11-27 11:00:27 +01:00
Anton Popov
fb666e137c
remove old code of projection analysis
2023-10-12 23:25:20 +00:00
Azat Khuzhin
24c0d53df7
Fix possible incorrect result with SimpleAggregateFunction in PREWHERE and FINAL
...
In case of FINAL the result of the expression for PREWHERE can be
changed after applying merge algorithm, and this is the problem for
SimpleAggregateFunction since after applying merging algorithm the value
can be changed.
Note, analyzer does not has this bug because it simply does not reuse
columns from PREWHERE (they does not passed via
GlobalPlannerContext::createColumnIdentifier())
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
v2: update tests references (see https://s3.amazonaws.com/clickhouse-test-reports/54436/baaa688f40fcd064952f62dc8c62ddc752dd0046/fast_test.html )
v3: allow reusing expression from PREWHERE w/o FINAL and revert tests references changes
2023-09-23 20:55:06 +02:00
Yakov Olkhovskiy
407b2e3b58
require columns participating in interpolate expression
2023-08-23 14:08:34 +00:00
Duc Canh Le
ed2a1d7c9b
select required columns when getting join
2023-08-07 03:15:20 +00:00
Alexey Milovidov
c620891340
Slightly more changes
2023-07-16 03:14:44 +02:00
Alexey Milovidov
66b66db39d
Fix ORDER BY tuple of WINDOW functions
2023-07-16 02:52:06 +02:00
Nikolai Kochetov
22e49748b5
Cleanup.
2023-06-22 14:23:04 +00:00
Nikolai Kochetov
6ce8329bda
Merge branch 'master' into refactor-subqueries-for-in
2023-06-09 20:04:27 +02:00
Nikolai Kochetov
b6e32cd5e3
Do not read all the columns from right GLOBAL JOIN table.
2023-06-08 15:30:23 +00:00
Nikolai Kochetov
8cec00dd6e
Merge branch 'master' into refactor-subqueries-for-in
2023-05-30 18:08:37 +02:00
Raúl Marín
b3a96de533
Pure parallel replicas: JOIN support ( #49544 )
2023-05-26 01:04:24 +02:00
Nikolai Kochetov
618486815b
Merge branch 'master' into refactor-subqueries-for-in
2023-05-05 20:39:09 +02:00
Alexander Gololobov
2e20f2a14d
Do not skip building set even when reading from remote
2023-05-02 21:31:56 +02:00
ongkong
1bffb28adc
add comment, change check location
2023-05-01 12:14:44 +02:00
ongkong
35a736f811
use sanitizeBlock
2023-05-01 12:14:44 +02:00
Nikolai Kochetov
80a2f30a0c
Refactor PreparedSets [2]
2023-04-25 18:14:08 +00:00
Alexey Milovidov
84cb2ff879
Added setting "use_index_for_in_with_subqueries_max_values" #2571
2023-04-14 16:12:18 +02:00
Alexander Gololobov
0ae74ddf42
Use different types for referencing local set and set that is stored in cache shared between tasks
2023-04-14 16:12:18 +02:00
Alexander Gololobov
fbf09a1115
Fixes for new analyzer
2023-04-14 16:12:18 +02:00
Alexander Gololobov
adbe87e9d3
Fixes
2023-04-14 16:12:18 +02:00
Alexander Gololobov
0b9579bfb8
Reworked, testing
2023-04-14 16:12:18 +02:00
Alexander Gololobov
02876ed87d
Share PreparedSet-s between task of the same mutation to reduce mem usage
2023-04-14 16:12:18 +02:00
Robert Schulze
7a21d5888c
Remove -Wshadow suppression which leaked into global namespace
2023-04-13 08:46:40 +00:00
vdimir
98004eec6b
Fix NOT_IMPLEMENTED error with CROSS JOIN and algorithm = auto
2023-03-01 13:08:24 +00:00
Vitaly Baranov
a3423ce196
Remove unnecessary execute() while evaluating a constant expression.
2023-02-05 20:26:34 +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
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
Nikolai Kochetov
533911b28b
Respect requested columns order for select.
2023-01-04 19:59:15 +00: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
4d7459bd65
Merge branch 'master' into 40907_Parameterized_views_as_table_functions
2022-12-27 08:15:42 +01:00
Dmitry Novik
4793412887
Merge branch 'master' into refector-function-node
2022-12-20 18:26:19 +01:00
Nikolai Kochetov
be93fb1d71
Remove commented code. Add a comment.
2022-12-19 18:41:32 +00:00
Nikolai Kochetov
860afd1832
Add a very bad fix.
2022-12-19 16:33:10 +00:00
Nikolai Kochetov
d6b68120d7
Add a very bad fix.
2022-12-19 14:48:06 +00:00
Nikolai Kochetov
707db18ddc
Add a very bad fix.
2022-12-19 14:37:01 +00:00
Nikolai Kochetov
5e55b88fbb
Remove comments.
2022-12-18 17:41:04 +00:00
Nikolai Kochetov
6cbae727da
Remove comments.
2022-12-18 17:39:45 +00:00
Nikolai Kochetov
d54d2ec378
Check what would be if we do not allow to replace function IN to constant.
2022-12-18 17:33:58 +00: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