mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 19:45:11 +00:00
Merge pull request #49310 from ClickHouse/fix-analyzer-tests
Fix 02516_join_with_totals_and_subquery_bug with new analyzer
This commit is contained in:
commit
f2839ad0dd
@ -124,7 +124,6 @@
|
||||
02707_skip_index_with_in
|
||||
02707_complex_query_fails_analyzer
|
||||
02680_mysql_ast_logical_err
|
||||
02516_join_with_totals_and_subquery_bug
|
||||
02324_map_combinator_bug
|
||||
02241_join_rocksdb_bs
|
||||
02003_WithMergeableStateAfterAggregationAndLimit_LIMIT_BY_LIMIT_OFFSET
|
||||
|
@ -2,6 +2,10 @@
|
||||
1
|
||||
|
||||
0
|
||||
1
|
||||
1
|
||||
|
||||
1
|
||||
\N
|
||||
|
||||
100000000000000000000
|
||||
|
@ -1,3 +1,5 @@
|
||||
SET allow_experimental_analyzer = 1;
|
||||
|
||||
SELECT *
|
||||
FROM
|
||||
(
|
||||
@ -12,7 +14,26 @@ INNER JOIN
|
||||
SELECT 1
|
||||
GROUP BY 1
|
||||
WITH TOTALS
|
||||
) AS t2 USING (a);
|
||||
) AS t2 USING (a)
|
||||
SETTINGS allow_experimental_analyzer=0;
|
||||
|
||||
SELECT *
|
||||
FROM
|
||||
(
|
||||
SELECT 1 AS a
|
||||
) AS t1
|
||||
INNER JOIN
|
||||
(
|
||||
SELECT 1 AS a
|
||||
GROUP BY 1
|
||||
WITH TOTALS
|
||||
UNION ALL
|
||||
SELECT 1
|
||||
GROUP BY 1
|
||||
WITH TOTALS
|
||||
) AS t2 USING (a)
|
||||
SETTINGS allow_experimental_analyzer=1;
|
||||
|
||||
|
||||
SELECT a
|
||||
FROM
|
||||
|
Loading…
Reference in New Issue
Block a user