ClickHouse/tests/queries/0_stateless/02901_analyzer_recursive_window.sql
2023-10-26 17:07:26 +00:00

5 lines
231 B
SQL

SELECT 1 WINDOW x AS (PARTITION BY x); -- { serverError UNKNOWN_IDENTIFIER }
SELECT 1 WINDOW x AS (PARTITION BY dummy);
SELECT 1 WINDOW dummy AS (PARTITION BY dummy);
SELECT count() OVER dummy WINDOW dummy AS (PARTITION BY dummy);