Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read list field correctly in <struct<list>> #167

Closed
alamb opened this issue Apr 26, 2021 · 0 comments · Fixed by #234
Closed

Read list field correctly in <struct<list>> #167

alamb opened this issue Apr 26, 2021 · 0 comments · Fixed by #234
Labels
bug parquet Changes to the parquet crate

Comments

@alamb
Copy link
Contributor

alamb commented Apr 26, 2021

Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-11294

I noticed that when reading <struct<list>>, we overwrite the list's field name with the struct's one.

If we have a struct called "a", and a list called "items", the list gets the name "a", which is incorrect. See the test case called "arrow::arrow_writer::tests::arrow_writer_complex", which produces this behaviour. The test will be merged as part of ARROW-10766.

@alamb alamb added the arrow Changes to the arrow crate label Apr 26, 2021
@jorgecarleitao jorgecarleitao added parquet Changes to the parquet crate and removed arrow Changes to the arrow crate labels Apr 26, 2021
@jorgecarleitao jorgecarleitao changed the title [Parquet] Read list field correctly in <struct<list>> Read list field correctly in <struct<list>> Apr 26, 2021
@jorgecarleitao jorgecarleitao added the enhancement Any new improvement worthy of a entry in the changelog label May 14, 2021
@jorgecarleitao jorgecarleitao added bug and removed enhancement Any new improvement worthy of a entry in the changelog labels May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug parquet Changes to the parquet crate
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants