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

fix: ignore null_frac when computing range selectivity #178

Merged
merged 2 commits into from
May 1, 2024

Conversation

Gun9niR
Copy link
Contributor

@Gun9niR Gun9niR commented May 1, 2024

Distribution and MCV already accounts for NULLs, so there's no need to multiply range selectivity by 1 - null_frac.

@Gun9niR Gun9niR requested review from wangpatrick57 and AlSchlo and removed request for wangpatrick57 May 1, 2024 19:00
Copy link
Contributor

@AlSchlo AlSchlo left a comment

Choose a reason for hiding this comment

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

We should adapt the tests to not reduce coverage

@Gun9niR
Copy link
Contributor Author

Gun9niR commented May 1, 2024

We should adapt the tests to not reduce coverage

Coverage should not be affected.

@Gun9niR Gun9niR merged commit cd9132c into main May 1, 2024
1 check passed
@Gun9niR Gun9niR deleted the zhidong/fix-range-sel branch May 1, 2024 19:27
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.

2 participants