ClickHouse/tests/queries/0_stateless/03036_with_numbers.sql

10 lines
187 B
SQL

-- https://github.com/ClickHouse/ClickHouse/issues/13843
SET allow_experimental_analyzer=1;
WITH 10 AS n
SELECT *
FROM numbers(n);
WITH cast(10, 'UInt64') AS n
SELECT *
FROM numbers(n);