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

10 lines
187 B
MySQL
Raw Normal View History

2024-04-02 15:47:48 +00:00
-- https://github.com/ClickHouse/ClickHouse/issues/13843
SET allow_experimental_analyzer=1;
2024-04-02 15:47:48 +00:00
WITH 10 AS n
SELECT *
FROM numbers(n);
WITH cast(10, 'UInt64') AS n
SELECT *
FROM numbers(n);