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

exec: bugfix to const operator #39266

Merged
merged 1 commit into from
Aug 2, 2019
Merged

Conversation

jordanlewis
Copy link
Member

Previously, the const operator didn't properly respect selection vectors

  • it simply overwrote the entire column without regard for whether the
    selection vector touched tuples it was writing or not. This proved
    problematic for the case operator. Fix this and add tests.

Release note: None

@jordanlewis jordanlewis requested review from rohany and a team August 2, 2019 15:42
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Previously, the const operator didn't properly respect selection vectors
- it simply overwrote the entire column without regard for whether the
selection vector touched tuples it was writing or not. This proved
problematic for the case operator. Fix this and add tests.

Release note: None
Copy link
Member

@yuzefovich yuzefovich left a comment

Choose a reason for hiding this comment

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

Nice find! :lgtm:

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

@jordanlewis
Copy link
Member Author

bors r+

craig bot pushed a commit that referenced this pull request Aug 2, 2019
39266: exec: bugfix to const operator r=jordanlewis a=jordanlewis

Previously, the const operator didn't properly respect selection vectors
- it simply overwrote the entire column without regard for whether the
selection vector touched tuples it was writing or not. This proved
problematic for the case operator. Fix this and add tests.

Release note: None

Co-authored-by: Jordan Lewis <[email protected]>
@craig
Copy link
Contributor

craig bot commented Aug 2, 2019

Build succeeded

@craig craig bot merged commit 8732651 into cockroachdb:master Aug 2, 2019
@jordanlewis jordanlewis deleted the fix-const-null branch August 6, 2019 16:21
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