Skip to content

Commit

Permalink
Reserve the WINDOW keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
ggevay committed Jan 16, 2025
1 parent b2f7519 commit 9b79eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sql-lexer/src/keywords.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit 9b79eac

Please # to comment.