2023-02-20 18:26:39 +00:00
|
|
|
SET allow_experimental_analyzer = 1;
|
2019-09-02 12:53:31 +00:00
|
|
|
SET joined_subquery_requires_alias = 1;
|
2019-08-29 18:45:34 +00:00
|
|
|
|
|
|
|
SELECT * FROM (SELECT 1 as A, 2 as B) X
|
|
|
|
ALL LEFT JOIN (SELECT 3 as A, 2 as B) Y
|
|
|
|
USING (B);
|
|
|
|
|
|
|
|
SELECT * FROM (SELECT 1 as A, 2 as B) X
|
|
|
|
ALL LEFT JOIN (SELECT 3 as A, 2 as B)
|
|
|
|
USING (B); -- { serverError 206 }
|
|
|
|
|
|
|
|
SELECT * FROM (SELECT 1 as A, 2 as B)
|
|
|
|
ALL LEFT JOIN (SELECT 3 as A, 2 as B) Y
|
|
|
|
USING (B); -- { serverError 206 }
|
|
|
|
|
2019-09-02 12:53:31 +00:00
|
|
|
set joined_subquery_requires_alias = 0;
|
2019-08-29 18:45:34 +00:00
|
|
|
|
|
|
|
SELECT * FROM (SELECT 1 as A, 2 as B)
|
|
|
|
ALL LEFT JOIN (SELECT 3 as A, 2 as B) Y
|
|
|
|
USING (B);
|