You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATETABLEusers (uid Int16, name String, age Int16) ENGINE=MergeTree ORDER BY tuple();
INSERT INTO users VALUES (1231, 'John', 33);
INSERT INTO users VALUES (6666, 'Ksenia', 48);
INSERT INTO users VALUES (8888, 'Alice', 50);
SELECTcount(*) OVER w
FROM users WINDOW w AS (ORDER BY uid), w AS(ORDER BY name)
Code: 36. DB::Exception: Received from localhost:9000. DB::Exception: Window 'w' is defined twice in the WINDOW clause. (BAD_ARGUMENTS)
The same query with analyzer:
SELECTcount(*) OVER w
FROM users WINDOW w AS (ORDER BY uid), w AS(ORDER BY name)
SETTINGS allow_experimental_analyzer=1
1
3
2
Is this change intentional?
The text was updated successfully, but these errors were encountered:
Algunenano
added
analyzer
Issues and pull-requests related to new analyzer
bug
Confirmed user-visible misbehaviour in official release
labels
May 8, 2024
https://fiddle.clickhouse.com/7c46c2a4-8936-4b00-a08e-5a6f6e8aa430
The same query with analyzer:
Is this change intentional?
The text was updated successfully, but these errors were encountered: