Skip to content

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!

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)

@alamb
Copy link
Contributor

alamb commented Aug 15, 2025

There is an updated proposal here:

I filed a ticket to track making a POC for that proposal here:

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