Skip to content

Feat: support ndv for View types - #11163

Merged
etseidl merged 1 commit into
apache:mainfrom
Rich-T-kid:rich-T-kid/ndv-view-types
Sep 22, 2026
Merged

etseidl merged 1 commit into
apache:mainfrom
Rich-T-kid:rich-T-kid/ndv-view-types

Conversation

@Rich-T-kid

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

Utf8View and BinaryView were skipped in update_distinct_values_seen, so distinct_count was never written for those column types even when set_write_row_group_number_distinct_values(true) was set.

What changes are included in this PR?

see PR

Are these changes tested?

yes 1 round trip test

Are there any user-facing changes?

not directly, new feature

@github-actions github-actions Bot added the parquet parquet crate label Sep 22, 2026

@etseidl etseidl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@etseidl
etseidl merged commit e2db103 into apache:main Sep 22, 2026
31 checks passed
@Jefffrey Jefffrey added the enhancement New feature/addition label Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature/addition parquet parquet crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support other datatypes in parquet writer NDV

3 participants