apache / apache/parquet-java

ParentValueContainer.getConversionContainer does not handle FIXED schema types properly

Open
#2,270 0 comments 0 reactions 0 assignees View on GitHub
Component: Avro Component: Parquet Priority: Major Type: bug
Dominant language
Java
Stars
3.1k
Forks
1.6k
Avg merge
3d 12h
Merged PRs (30d)
33

Description

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.*

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at ParentValueContainer.getConversionContainer and inspect how FIXED schema values are converted. Confirm the conversion accepts the broader GenericFixed type rather than only GenericData.Fixed, then verify that FIXED values are handled without the reported type mismatch.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.