forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
39086: sql: fix a bug with ordinality planning r=yuzefovich a=yuzefovich Ordinality node appends an Int column so that it can write to it. Previously, plan.ResultTypes were appended to before adding a single group stage which internally used updated ResultTypes to set up inputs to the ordinality processor. Now this behavior is fixed and adding a single group stage takes care of updating ResultTypes accordingly. Fixes: cockroachdb#38995. Release note: None Co-authored-by: Yahor Yuzefovich <[email protected]>
- Loading branch information
Showing
2 changed files
with
16 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