2022-10-25 10:35:25 +00:00
|
|
|
SET allow_experimental_analyzer = 1;
|
2022-10-11 13:19:50 +00:00
|
|
|
|
|
|
|
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 }
|