Skip to content

[WIP] fix: respect inexact flags in row group metadata #16412

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

CookiePieWw
Copy link

Which issue does this PR close?

Rationale for this change

As title, wrap the max and min stats with Inexact or Exact respecting the flags in row group metadata.

What changes are included in this PR?

Since the corresponding change in arrow-rs has not been released, the dependencies also changed. Let's wait for arrow-rs's release :)

Are these changes tested?

This is an example fix with tests originally introduced in #15977. I constructed a parquet file with more columns and truncated stats and will add it later.

I wonder if we need to add the parquet into parquet-testing repo and add some unit tests.

Are there any user-facing changes?

@github-actions github-actions bot added core Core DataFusion crate datasource Changes to the datasource crate labels Jun 14, 2025
@CookiePieWw CookiePieWw changed the title fix: respect inexact flags in row group metadata [WIP] fix: respect inexact flags in row group metadata Jun 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core DataFusion crate datasource Changes to the datasource crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Treat truncated parquet stats as inexact
1 participant