-
Notifications
You must be signed in to change notification settings - Fork 882
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
Support Reading Nested List Arrays #993
Comments
This may have been fixed as there has been significant work on reading of nested structures by @helgikrs and others |
The nested data structure support is been pending for long time. I am also eagerly looking for this support. I have a fairly large JSON data which I used apache spark to write to parquet files. I wanted to read them via rust arrow have no success. |
Hi @kesavkolla -- could you possibly share an example file we could use to test any fix? |
I have a parquet file https://github.com/Igosuki/arrow2/blob/main/part-00000-b4749aa1-94e4-4ddb-bab2-954c4d3a290f.c000.snappy.parquet it uses List(List(Float64)) |
Yes, this use case is supported in datafusion. For instance, you can read nested avro and json schemas, so the issue should be raised with arrow-rs, I added a comment here #720 with our files. |
#1588) * Add support for nested list arrays (#993) * More tests * Minor cleanup * Filter nulls * Update comments * Fix doc * Fix clippy * Apply suggestions from code review Co-authored-by: Andrew Lamb <[email protected]> * More tests * Add sanity check to ListArrayReader * Fix test_struct_array_reader Co-authored-by: Andrew Lamb <[email protected]>
Describe the bug
When trying to read parquet files with deeply nested fields we end up with the following error:
To Reproduce
This is easily visible from the code found at array_reader.rs#L1516-L1522
Expected behavior
To have support for reading nested parquet files into arrow.
Additional context
This issue, in my particular case, has been hidden under #1383.
The text was updated successfully, but these errors were encountered: