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

Parquet reader should be able to read structs within list #1186

Closed
helgikrs opened this issue Jan 15, 2022 · 0 comments · Fixed by #1187
Closed

Parquet reader should be able to read structs within list #1186

helgikrs opened this issue Jan 15, 2022 · 0 comments · Fixed by #1187
Labels
enhancement Any new improvement worthy of a entry in the changelog parquet Changes to the parquet crate

Comments

@helgikrs
Copy link
Contributor

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

Reading a parquet file containing a list of structs fails with an error like

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ArrowError("reading List(GroupType { basic_info: BasicTypeInfo { name: \"item\", repetition: Some(OPTIONAL), converted_
type: NONE, logical_type: None, id: None }, fields: [PrimitiveType { basic_info: BasicTypeInfo { name: \"a\", repetition: Some(OPTIONAL), converted_type: NONE, logical_type: None, id: None },
 physical_type: INT32, type_length: -1, scale: -1, precision: -1 }] }) into arrow not supported yet")', src/main.rs:8:46

Describe the solution you'd like
The reader should support reading parquet files containing lists of structs and not produce an error.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@helgikrs helgikrs added the enhancement Any new improvement worthy of a entry in the changelog label Jan 15, 2022
@alamb alamb added the parquet Changes to the parquet crate label Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Any new improvement worthy of a entry in the changelog parquet Changes to the parquet crate
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants