Skip to content

Fix backward-compatibility processing for array with one group field#10852

Merged
nezihyigitbasi merged 1 commit intoprestodb:masterfrom
kgalieva:parquet-backward-compatibility
Jun 18, 2018
Merged

Fix backward-compatibility processing for array with one group field#10852
nezihyigitbasi merged 1 commit intoprestodb:masterfrom
kgalieva:parquet-backward-compatibility

Conversation

@kgalieva
Copy link
Contributor

According to Parquet spec:
If the repeated field is a group with one field and is named either array
or uses the LIST-annotated group's name with _tuple appended
then the repeated type is the element type and elements are required.

https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#lists

According to Parquet spec:
If the repeated field is a group with one field and is named either array
or uses the LIST-annotated group's name with _tuple appended
then the repeated type is the element type and elements are required.

https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#lists
@zhenxiao
Copy link
Collaborator

nice fix, looks good to me

@nezihyigitbasi nezihyigitbasi merged commit 346f38e into prestodb:master Jun 18, 2018
@nezihyigitbasi
Copy link
Contributor

Thanks @kgalieva @zhenxiao!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants