apache / apache/parquet-java

Parquet Thrift/Scrooge uses file schema as requested schema when projection is not specified

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

Description

Parquet is using file schema as requested schema when projection is not specified.
Instead it should use the schema from the thrift class the user provided.

**Reporter**: [Tim](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=tianshuo) / @tsdeng
**Assignee**: [Tim](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=tianshuo) / @tsdeng

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

No source file, test, or entry point is named. Start by locating the Parquet Thrift/Scrooge projection handling and trace how the requested schema is chosen when no projection is supplied; done when the user-provided thrift class schema is used instead of the file schema.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.