Skip to content

Improve NDV statistics for Parquet columns (parquet RLE & Dictionary array focus) #24114

Description

@Rich-T-kid

Is your feature request related to a problem or challenge?

Deciding whether to dictionary-encode a column requires knowing its cardinality (NDV), Datafusion does support https://docs.rs/datafusion/latest/datafusion/common/struct.ColumnStatistics.html but we need to validate this.

Describe the solution you'd like

Improve NDV statistics collection focused on Parquet, and get these stats into DataFusion in a form the optimizer can actually use (e.g. exposed on ColumnStatistics).

Describe alternatives you've considered

No response

Additional context

Direct sub-issue of #22891
piece of Epic : #24111

Activity

  1. changed the title [-]Improve NDV statistics for Parquet columns[/-] [+]Improve NDV statistics for Parquet columns (parquet RLE & Dictionary array focus)[/+] on Aug 5, 2026
  2. Rich-T-kid commented on Aug 20, 2026

    @Rich-T-kid
    ContributorAuthor

    with apache/arrow-rs#10650 being closed in arrow-rs we just need to wait for datafusion to bump the version so we can use the new methods

  3. Rich-T-kid commented on Sep 15, 2026

    @Rich-T-kid
    ContributorAuthor

    waiting for arrow-rs v60.0.0 fyi

  4. Rich-T-kid commented on Sep 20, 2026

    @Rich-T-kid
    ContributorAuthor

    take

  5. added a commit that references this issue on Oct 9, 2026
    f84b82c
  6. added a commit that references this issue on Oct 11, 2026
    383a080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions