mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
This commit is contained in:
parent
ef0a9e889f
commit
8ae1f4c4b3
@ -0,0 +1,51 @@
|
||||
-- https://github.com/ClickHouse/ClickHouse/issues/29734
|
||||
SELECT *
|
||||
FROM
|
||||
(
|
||||
SELECT 1 AS x
|
||||
) AS a
|
||||
INNER JOIN
|
||||
(
|
||||
SELECT
|
||||
1 AS x,
|
||||
2 AS y
|
||||
) AS b ON (a.x = b.x) AND (a.y = b.y); -- { serverError UNKNOWN_IDENTIFIER }
|
||||
|
||||
|
||||
|
||||
SELECT *
|
||||
FROM
|
||||
(
|
||||
SELECT 1 AS x
|
||||
) AS a
|
||||
INNER JOIN
|
||||
(
|
||||
SELECT
|
||||
1 AS x,
|
||||
2 AS y
|
||||
) AS b ON (a.x = b.x) AND (a.y = b.y)
|
||||
INNER JOIN
|
||||
(
|
||||
SELECT 3 AS x
|
||||
) AS c ON a.x = c.x; -- { serverError UNKNOWN_IDENTIFIER }
|
||||
|
||||
|
||||
SELECT *
|
||||
FROM
|
||||
(
|
||||
SELECT number AS x
|
||||
FROM numbers(10)
|
||||
) AS a
|
||||
INNER JOIN
|
||||
(
|
||||
SELECT
|
||||
number AS x,
|
||||
number AS y
|
||||
FROM numbers(10)
|
||||
) AS b ON (a.x = b.x) AND (a.y = b.y)
|
||||
INNER JOIN
|
||||
(
|
||||
SELECT number AS x
|
||||
FROM numbers(10)
|
||||
) AS c ON a.x = c.x; -- { serverError UNKNOWN_IDENTIFIER }
|
||||
|
Loading…
Reference in New Issue
Block a user