-
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.
74288: colbuilder: fix window functions planning r=yuzefovich a=yuzefovich The problem with integer widths bites us again - in the vectorized window functions planning we could mistakenly think that the window function returns INT8 when it actually returned INT2 or INT4. This would result in an internal error if there was another window function on top of the "broken" one with the same PARTITION BY clause. Fixes: #74087. Release note (bug fix): Previously, CockroachDB could encounter an internal error when executing queries with multiple window functions and when one of those functions returned INT2 or INT4 type. Co-authored-by: Yahor Yuzefovich <[email protected]>
- Loading branch information
Showing
2 changed files
with
43 additions
and
4 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