apache / apache/parquet-java

Throw typed exception for Parquet footer error

未关闭
#3,342 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Type: enhancement
主要语言
Java
星标
3.1k
派生
1.6k
平均合并
3 天 12 小时
30 天内合并 PR
33

描述

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

贡献指南

这个仓库没有索引到贡献指南

调研方向

从 ParquetFileReader 开始,结合 ParquetDecodingException 检查 footer 解析的失败路径。确认损坏的 footer 导致的失败会以类型化异常而不是 RuntimeException 的形式向上层暴露,然后使用 repository 中现有的测试验证相关 reader 行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
data-engineering
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。