Skip to content

[Not for Merge] PoC implementation of PARQUET-2249: Introduce IEEE 754 total order #7408

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

Draft
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

etseidl
Copy link
Contributor

@etseidl etseidl commented Apr 11, 2025

Which issue does this PR close?

Closes #.

Rationale for this change

PoC implementation of PARQUET-2249 (apache/parquet-format#221).

What changes are included in this PR?

Adds ability to sort floating point statistics with IEEE 754 total order, now allowing NaN to appear in column chunk and page index statistics.

This is a proof of concept to aid in proving the utility of the changes to the Parquet specification in apache/parquet-format#221.

Are there any user-facing changes?

Yes.

@github-actions github-actions bot added the parquet Changes to the parquet crate label Apr 11, 2025
@etseidl etseidl added the api-change Changes to the arrow API label Apr 11, 2025
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.

Nice!

@@ -841,6 +873,7 @@ impl From<parquet::LogicalType> for LogicalType {
parquet::LogicalType::BSON(_) => LogicalType::Bson,
parquet::LogicalType::UUID(_) => LogicalType::Uuid,
parquet::LogicalType::FLOAT16(_) => LogicalType::Float16,
parquet::LogicalType::VARIANT(_) => LogicalType::Variant,
Copy link
Contributor

Choose a reason for hiding this comment

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

it is probably valuable in itself to get a PR ready to upgrade the format spec (to get support for the Variant logical type, among other things)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-change Changes to the arrow API parquet Changes to the parquet crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants