apache / apache/parquet-java

Throw typed exception for Parquet footer error

Open
#3,342 0 comments 0 reactions 0 assignees View on GitHub
Type: enhancement
Dominant language
Java
Stars
3.1k
Forks
1.6k
Avg merge
3d 12h
Merged PRs (30d)
33

Description

### 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_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.