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: fix null handling in merge joiner #38385

Merged
merged 1 commit into from
Jun 25, 2019
Merged

Conversation

yuzefovich
Copy link
Member

Previously, when a group was buffered, only the values vector
has been saved and the null vector has been ignored. Now it is
fixed. Additionally, a bug with null handling in the case of a
present selection vector is fixed.

Release note: None

@yuzefovich yuzefovich requested review from jordanlewis, asubiotto and a team June 24, 2019 22:02
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Previously, when a group was buffered, only the values vector
has been saved and the null vector has been ignored. Now it is
fixed. Additionally, a bug with null handling in the case of a
present selection vector is fixed.

Release note: None
Copy link
Member

@jordanlewis jordanlewis left a comment

Choose a reason for hiding this comment

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

:lgtm: - are both bugs that you fixed exercised by the new test case? They should be.

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @asubiotto and @jordanlewis)

@yuzefovich
Copy link
Member Author

TFTR!

Yes, the test exercises both of the bugs. I actually noticed only the "first" one at first, but then when running tests with sel == true, I hit the "second" one on the test case.

bors r+

craig bot pushed a commit that referenced this pull request Jun 25, 2019
38385: exec: fix null handling in merge joiner r=yuzefovich a=yuzefovich

Previously, when a group was buffered, only the values vector
has been saved and the null vector has been ignored. Now it is
fixed. Additionally, a bug with null handling in the case of a
present selection vector is fixed.

Release note: None

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

craig bot commented Jun 25, 2019

Build succeeded

@craig craig bot merged commit 7f0b2d4 into cockroachdb:master Jun 25, 2019
@yuzefovich yuzefovich deleted the fix-mj branch June 25, 2019 02:22
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