-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: fix checking for presence of window functions in some edge cases
Previously, when a window function was a part of another expression (say BinaryExpr) instead of being used directly within PARTITION BY and ORDER BY clauses of another window function, we would incorrectly not reject such a query and would actually crash while trying to execute it. Release note: None
- Loading branch information
1 parent
9e17cb9
commit 4cc02b7
Showing
2 changed files
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters