Draft
Conversation
3 tasks
emkornfield
reviewed
May 29, 2024
emkornfield
reviewed
May 29, 2024
emkornfield
reviewed
May 29, 2024
1. Make `ColumnMetaData.type` optional 2. Make `ColumnMetaData.path_in_schema` optional 3. Add `ColumnMetaData.schema_index`. This is the ordinal in `FileMetaData.schema` this column corresponds to. This allows sparse representation of columns in a rowgroup.
9f5b94e to
f0c75b9
Compare
alkis
commented
May 31, 2024
| * This implies that ColumnMetaData can be sparse in a rowgroup, if for example | ||
| * a column does not have any data pages in a rowgroup. | ||
| */ | ||
| 17: optional i32 schema_index; |
Contributor
Author
There was a problem hiding this comment.
FWIW I accidentally discovered https://issues.apache.org/jira/browse/PARQUET-183 which can be fixed with this field.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ColumnMetaData.typeoptionalColumnMetaData.path_in_schemaoptionalColumnMetaData.schema_index. This is the ordinal inFileMetaData.schemathis column corresponds to. This allows sparse representation of columns in a rowgroup.ColumnMetaData.encoding_statsand replace withColumnMetaData.is_fully_dict_encoded.ref Parquet Metadata evolution
Jira
Commits
Documentation