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

opt: update joinSelectivityFromNullCounts to match selectivityFromNullCounts #38795

Merged
merged 1 commit into from
Jul 10, 2019

Conversation

rytaft
Copy link
Collaborator

@rytaft rytaft commented Jul 10, 2019

A previous PR (#38730) updated the logic in selectivityFromNullCounts
to compare the result of floating point arithmetic with a small constant
epsilon. For consistency, this commit adds similar logic in
joinSelectivityFromNullCounts.

Release note: None

…lCounts

A previous PR (cockroachdb#38730) updated the logic in selectivityFromNullCounts
to compare the result of floating point arithmetic with a small constant
epsilon. For consistency, this commit adds similar logic in
joinSelectivityFromNullCounts.

Release note: None
@rytaft rytaft requested review from justinj and RaduBerinde July 10, 2019 18:30
@rytaft rytaft requested a review from a team as a code owner July 10, 2019 18:30
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@RaduBerinde RaduBerinde left a comment

Choose a reason for hiding this comment

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

:lgtm:

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

Copy link
Collaborator Author

@rytaft rytaft left a comment

Choose a reason for hiding this comment

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

TFTR!

bors r+

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

craig bot pushed a commit that referenced this pull request Jul 10, 2019
38795: opt: update joinSelectivityFromNullCounts to match selectivityFromNullCounts r=rytaft a=rytaft

A previous PR (#38730) updated the logic in `selectivityFromNullCounts`
to compare the result of floating point arithmetic with a small constant
`epsilon`. For consistency, this commit adds similar logic in
`joinSelectivityFromNullCounts`.

Release note: None

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

craig bot commented Jul 10, 2019

Build succeeded

@craig craig bot merged commit c782b74 into cockroachdb:master Jul 10, 2019
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