mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
22 lines
539 B
SQL
22 lines
539 B
SQL
SET allow_experimental_analyzer = 1;
|
|
|
|
SELECT cast(tuple(1, 'Value'), 'Tuple(first UInt64, second String)') AS value, value.first, value.second;
|
|
|
|
SELECT '--';
|
|
|
|
WITH (x -> x + 1) AS lambda SELECT lambda(1);
|
|
|
|
WITH (x -> x + 1) AS lambda SELECT lambda.nested(1); -- { serverError 36 }
|
|
|
|
SELECT '--';
|
|
|
|
SELECT * FROM (SELECT 1) AS t1, t1 AS t2;
|
|
|
|
SELECT '--';
|
|
|
|
SELECT * FROM t1 AS t2, (SELECT 1) AS t1;
|
|
|
|
SELECT * FROM (SELECT 1) AS t1, t1.nested AS t2; -- { serverError 36 }
|
|
|
|
SELECT * FROM t1.nested AS t2, (SELECT 1) AS t1; -- { serverError 36 }
|