From 9b79eac84482aa157a4c3b71344fc8a103d7533b Mon Sep 17 00:00:00 2001 From: Gabor Gevay Date: Thu, 16 Jan 2025 16:42:16 +0100 Subject: [PATCH] Reserve the WINDOW keyword --- src/sql-lexer/src/keywords.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql-lexer/src/keywords.rs b/src/sql-lexer/src/keywords.rs index 412878ba64ffe..ff28daebbb557 100644 --- a/src/sql-lexer/src/keywords.rs +++ b/src/sql-lexer/src/keywords.rs @@ -65,7 +65,7 @@ impl Keyword { matches!( self, // Keywords that can appear at the top-level of a SELECT statement. - WITH | SELECT | FROM | WHERE | GROUP | HAVING | QUALIFY | ORDER | LIMIT | OFFSET | FETCH | OPTIONS | RETURNING | + WITH | SELECT | FROM | WHERE | GROUP | HAVING | QUALIFY | WINDOW | ORDER | LIMIT | OFFSET | FETCH | OPTIONS | RETURNING | // Set operations. UNION | EXCEPT | INTERSECT )