Skip to content

Conversation

@etseidl
Copy link
Contributor

@etseidl etseidl commented Sep 30, 2024

Which issue does this PR close?

Part of #6256.

Rationale for this change

In #6257 @alamb changes the behavior of the parquet writer to always write Some(0) when the null count is known to be zero. Part of #6257 allows users of StatisticsConverter to choose whether or not to treat missing null counts as 0.

What changes are included in this PR?

This PR consists of @alamb's changes to StatisticsConverter without the changes to writer behavior. By default no behavior is changed, but users can prepare for later changes to how the Statistics::null_count field is written.
See the conversation here for the rationale.

Are there any user-facing changes?

No.

@github-actions github-actions bot added the parquet Changes to the parquet crate label Sep 30, 2024
@etseidl
Copy link
Contributor Author

etseidl commented Sep 30, 2024

cc @alamb @Michael-J-Ward

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you very much @etseidl

.run();
}

#[test]
Copy link
Contributor

Choose a reason for hiding this comment

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

❤️

@alamb alamb merged commit 2d67c4c into apache:master Oct 1, 2024
@etseidl etseidl deleted the null_counts_read_behavior branch October 1, 2024 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

parquet Changes to the parquet crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants