Skip to content

feat: extend interval analysis support for temporal types#21520

Open
buraksenn wants to merge 3 commits intoapache:mainfrom
buraksenn:extend-interval-analysis-temporal
Open

feat: extend interval analysis support for temporal types#21520
buraksenn wants to merge 3 commits intoapache:mainfrom
buraksenn:extend-interval-analysis-temporal

Conversation

@buraksenn
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

related with #21109 and its PR #21473

Rationale for this change

Temporal types can actually support internal arithmetics and with this change internal arithmetics can now narrow down column boundaries and selectivity instead of falling back to default selectivity of 1.0

What changes are included in this PR?

Extend internal_arithmetic types with date and duration types

Are these changes tested?

Yes adjusted tests

Are there any user-facing changes?

no

@github-actions github-actions bot added logical-expr Logical plan and expressions physical-expr Changes to the physical-expr crates common Related to common crate physical-plan Changes to the physical-plan crate labels Apr 9, 2026
@github-actions github-actions bot added the core Core DataFusion crate label Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common Related to common crate core Core DataFusion crate logical-expr Logical plan and expressions physical-expr Changes to the physical-expr crates physical-plan Changes to the physical-plan crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Extend single-value NDV optimization to timestamp and interval types

1 participant