apache / apache/parquet-java

no projection in thrift union types.

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

Description

We should not allow projecting a subset of the fields in a Thrift union as this will result in errors.
In a union there will be exactly one defined field.
Which means reading the data will fail if we project it out as Thrift expects exactly one (and not 0)

**Reporter**: [Julien Le Dem](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=julienledem) / @julienledem

**Note**: *This issue was originally created as [PARQUET-102](https://issues.apache.org/jira/browse/PARQUET-102). 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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.