Throw typed exception for Parquet footer error
- 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
Research direction
Start in ParquetFileReader and inspect the footer-parsing failure paths alongside ParquetDecodingException. Confirm that corrupted-footer failures surface as the typed exception rather than RuntimeException, then verify the relevant reader behavior with the repository's existing tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- data-engineering
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100