Skip to content

Remove the deprecated bundled statistics providers #26055

Description

@asolimando

Is your feature request related to a problem or challenge?

#25969 deprecated the statistics providers bundled in datafusion_physical_plan::operator_statistics, since they duplicate or replace the estimation each operator does in statistics_from_inputs. The API health policy deprecation guidelines say deprecated APIs remain for

6 major versions or 6 months, whichever is longer

so they can be removed in 62.0.0 at the earliest (and no earlier than 6 months after the 56.0.0 release).

Item Deprecated in Replacement
StatisticsRegistry::default_with_builtin_providers 56.0.0 register user-defined providers, or none
FilterStatisticsProvider 56.0.0 FilterExec estimate (survival model tracked in #26052)
JoinStatisticsProvider 56.0.0 join operators' estimate (multi-key estimation tracked in #21583)
ProjectionStatisticsProvider, PassthroughStatisticsProvider, AggregateStatisticsProvider, LimitStatisticsProvider, UnionStatisticsProvider 56.0.0 operators' own estimate

Describe the solution you'd like

Remove the items above, their tests, and the helpers only they use (computed_with_row_count, rescale_byte_size).

Describe alternatives you've considered

N/A

Additional context

Follow-up to #25969 (closes #25571).

Activity

  1. mohitgurav20 commented on Oct 6, 2026

    @mohitgurav20
    Contributor

    take

  2. mohitgurav20 commented on Oct 6, 2026

    @mohitgurav20
    Contributor

    thanks for assigning me soon will come up with the pr or this issue

  3. asolimando commented on Oct 6, 2026

    @asolimando
    MemberAuthor

    @mohitgurav20 I suggest to wait as this is not actionable yet (details in the description)

  4. mohitgurav20 commented on Oct 6, 2026

    @mohitgurav20
    Contributor

    ohkk sir as you say i'll hold up here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions