-
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.
opt: prevent creation of invalid streaming set operations
Prior to this commit, it was possible to generate a streaming set operation with an empty ordering, due to using interesting orderings involving input columns that were not output by the set operation. This commit fixes the problem by removing those orderings from consideration. Fixes #73084 Release note (bug fix): Fixed an internal error that could occur during planning for some set operations (e.g., UNION, INTERSECT or EXCEPT) when at least one side of the set operation was ordered on a column that was not output by the set operation. This bug was first introduced in 21.2.0 and does not exist in prior versions.
- Loading branch information
Showing
2 changed files
with
52 additions
and
2 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