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.
40754: colexec: make sure that joiners output only the needed columns r=asubiotto a=yuzefovich Previously, the joiners would create an output batch with all the input columns but would set the values only the requested output columns. Now this is fixed, and both hash and merge joiners output the batch only with the requested columns. Additionally, this commit fixes a bug with ON expression planning for joiners. Previously, the column types that the remapped ON expression references were not remapped themselves. Furthermore, the ON expression itself was modified in-place. This is now fixed. Also, post.Filter was handled incorrectly after a joiner if the columns used by the filter were not a part of the projection. This is now fixed. Fixes: cockroachdb#40732. Release justification: Category 3: Fixes for high-priority or high-severity bugs in existing functionality. Release note: None Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com>
- Loading branch information
Showing
8 changed files
with
977 additions
and
968 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
Oops, something went wrong.