Skip to content

feat: Use NDV for equality filter selectivity calculation#20789

Open
jonathanc-n wants to merge 3 commits intoapache:mainfrom
jonathanc-n:ndv-equality-filter
Open

feat: Use NDV for equality filter selectivity calculation#20789
jonathanc-n wants to merge 3 commits intoapache:mainfrom
jonathanc-n:ndv-equality-filter

Conversation

@jonathanc-n
Copy link
Contributor

@jonathanc-n jonathanc-n commented Mar 7, 2026

Which issue does this PR close?

Rationale for this change

Used NDV for equality filter selectivity calculation.

What changes are included in this PR?

Check if it is equality filter, and selectivity will be calculated using (1/NDV)

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added the core Core DataFusion crate label Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate physical-expr Changes to the physical-expr crates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant