apache / apache/parquet-java

ParentValueContainer.getConversionContainer does not handle FIXED schema types properly

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

描述

ParentValueContainer.getConversionContainer attempts to convert the value to (GenericData.Fixed) instead of the more broad (GenericFixed) class. GenericData.Fixed implements GenericFixed, and GenericFixed is the avro class that should be used instead of the more specific parquet-avro GenericData.Fixed.

**Environment**: Windows 10, Flink, IntelliJ IDE
**Reporter**: [Daniel Steffy](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=steffyd)

**Note**: *This issue was originally created as [PARQUET-1486](https://issues.apache.org/jira/browse/PARQUET-1486). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*

贡献指南

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

调研方向

从 ParentValueContainer.getConversionContainer 开始,检查 FIXED schema 值是如何转换的。确认转换接受更宽泛的 GenericFixed 类型,而不仅仅是 GenericData.Fixed,然后验证 FIXED 值在处理时不会出现报告的类型不匹配问题。

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

评估

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

把新 issue 发到你的邮箱

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