-
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.
38270: sql: prohibit offset with GROUPS containing vars r=justinj a=justinj This commit adds a check during semantic analysis to verify that a window function using GROUPS mode does not include an offset expression containing variable references. This was handled by the heuristic planner previously, but this places a check earlier so that it's also checked by the optimizer. Fixes #38090 Release note: None Co-authored-by: Justin Jaffray <justin@cockroachlabs.com>
- Loading branch information
Showing
3 changed files
with
19 additions
and
0 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
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