Skip to content

fix(iceberg): normalize float/double stats before encoding#798

Open
parisni wants to merge 1 commit intoapache:mainfrom
leboncoin:pr-fix-iceberg-stats
Open

fix(iceberg): normalize float/double stats before encoding#798
parisni wants to merge 1 commit intoapache:mainfrom
leboncoin:pr-fix-iceberg-stats

Conversation

@parisni
Copy link

@parisni parisni commented Feb 3, 2026

Important Read

  • GitHub issue: TBD

What is the purpose of the pull request

This pull request normalizes float and double stats before encoding Iceberg column bounds.

Brief change log

  • Normalize min/max stat values for FLOAT/DOUBLE before Conversions.toByteBuffer.
  • Added helper to coerce numeric stats to the expected primitive type.

Verify this pull request

This pull request is a trivial rework / code cleanup without any test coverage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant