Skip to content

Arrow reader should reject unsigned Parquet integers #14547

@nandorKollar

Description

@nandorKollar

Apache Iceberg version

main (development)

Query engine

None

Please describe the bug 🐞

The current implementation of Arrow reader within Iceberg will read each integer field as a signed integer, without considering the flag on the logical type annotation which mark that the integer should be interpreted as signed or unsigned value. Since Iceberg doesn't have unsigned integer type, I think the code should throw an exception, if the Parquet logical type is an unsigned integer.

Willingness to contribute

  • I can contribute a fix for this bug independently
  • I would be willing to contribute a fix for this bug with guidance from the Iceberg community
  • I cannot contribute a fix for this bug at this time

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions