Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
54386: rowexec: fix column mapping for index join r=yuzefovich a=yuzefovich Index join code has been recently merged into the join reader processor. However, the setup of the joiner base has been done slightly incorrectly: the join reader core returns the whole row from the table (i.e. all columns from the "right") and ignores columns coming from the input (from the "left"), but previously we were incorrectly passing in non-empty types for the left side - this would result in an incorrectly setup ProcOutputHelper. This could result in a crash when a row doesn't pass the filter and the verbose logging is enabled. This had a limited impact though because the output rows matched with the indexed vars referring to the columns of that row. Fixes: cockroachdb#54226. Release note: None Co-authored-by: Yahor Yuzefovich <[email protected]>
- Loading branch information