mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
This commit is contained in:
parent
acf1fb3a6c
commit
9ffe6a4640
4
tests/queries/0_stateless/03051_many_ctes.reference
Normal file
4
tests/queries/0_stateless/03051_many_ctes.reference
Normal file
@ -0,0 +1,4 @@
|
||||
2
|
||||
2
|
||||
2
|
||||
2
|
5
tests/queries/0_stateless/03051_many_ctes.sql
Normal file
5
tests/queries/0_stateless/03051_many_ctes.sql
Normal file
@ -0,0 +1,5 @@
|
||||
-- https://github.com/ClickHouse/ClickHouse/issues/40955
|
||||
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;
|
Loading…
Reference in New Issue
Block a user