ParquetThriftOutputFormat does not store any optional primitive values in parquet file
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 1.6k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 33
Description
As per title, I created a simple record with thrift IDL and used the ParquetThriftOutputFormat.
The library would not write any of the optional primitive even if set, it would write only if they are specified as required.
parquet-mr: 1.11.1
thrift 0.13.0
**Reporter**: [Daniel Morales](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=tenentedan9)
**Note**: *This issue was originally created as [PARQUET-1955](https://issues.apache.org/jira/browse/PARQUET-1955). 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 by reproducing the issue with ParquetThriftOutputFormat using a Thrift record containing optional primitive fields, comparing optional and required fields in the resulting Parquet file. Done means set optional primitive values are written and can be read back rather than being omitted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- data-engineering
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100