-
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.
40488: opt: fix error due to more than one column in subquery r=rytaft a=rytaft This error was actually already fixed in the master branch by #38670. This commit just adds a regression test for #40407 which will be backported to 19.1. It's not worth backporting all of #38670 since the fix to this particular issue is very small. Basically, we just need to add a projection around the CTE expression to eliminate columns used for `ORDER BY`. Fixes #40407 Release note: None Co-authored-by: Rebecca Taft <[email protected]>
- Loading branch information
Showing
1 changed file
with
54 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