Skip to content

Parquet Statistics Pruning Ignores ColumnOrder, resulting in potentially incorrect statistics #8342

@tustvold

Description

@tustvold

Describe the bug

The statistics are only valid if interpreted in the context of ColumnOrder, otherwise the results are not necessarily correct

The ColumnOrder field in Parquet statistics says what ordering was used to compute the min/max values and seems not to be widely used or populated in the eco system. However, ignoring it when it is present is probably wrong

To Reproduce

No response

Expected behavior

No response

Additional context

No response

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