Skip to content

Throw typed exception for Parquet footer error #3342

@qiyuandong-db

Description

@qiyuandong-db

Describe the enhancement requested

Currently, ParquetFileReader throws RuntimeExceptions when footer parsing fails.

This can be improved by throwing a ParquetDecodingException when footer parsing fails, so footer corruption surfaces as a typed exception instead of a plain RuntimeException. This helps avoid matching on error message to catch errors occurred during footer parsing.

Component(s)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions