Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coldata: respect SelOnDest flag when setting nulls #40606

Merged
merged 1 commit into from
Sep 9, 2019

Conversation

yuzefovich
Copy link
Member

Previously, when setting nulls, we would always set it at the offset
from DestIdx. However, this is incorrect when SelOnDest flag is true -
we need to set the null at selIdx. Now this is fixed.

Release note: None

Previously, when setting nulls, we would always set it at the offset
from DestIdx. However, this is incorrect, when SelOnDest flag is true -
we need to set the null at selIdx. Now this is fixed.

Release note: None
@yuzefovich yuzefovich requested review from jordanlewis, rafiss and a team September 9, 2019 18:30
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@rafiss rafiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM great catch!

Reviewed 2 of 2 files at r1.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @jordanlewis)

@yuzefovich
Copy link
Member Author

TFTR!

bors r+

craig bot pushed a commit that referenced this pull request Sep 9, 2019
40606: coldata: respect SelOnDest flag when setting nulls r=yuzefovich a=yuzefovich

Previously, when setting nulls, we would always set it at the offset
from DestIdx. However, this is incorrect when SelOnDest flag is true -
we need to set the null at selIdx. Now this is fixed.

Release note: None

Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com>
@craig
Copy link
Contributor

craig bot commented Sep 9, 2019

Build succeeded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants