mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-10 00:12:27 +00:00
7 lines
326 B
SQL
7 lines
326 B
SQL
-- https://github.com/ClickHouse/ClickHouse/issues/40955
|
|
SET allow_experimental_analyzer=1;
|
|
WITH toInt64(2) AS new_x SELECT new_x AS x FROM (SELECT 1 AS x) t;
|
|
WITH toInt64(2) AS new_x SELECT * replace(new_x as x) FROM (SELECT 1 AS x) t;
|
|
SELECT 2 AS x FROM (SELECT 1 AS x) t;
|
|
SELECT * replace(2 as x) FROM (SELECT 1 AS x) t;
|