This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
Bug reading parquet file with struct nested in list #937
Labels
bug
Something isn't working
no-changelog
Issues whose changes are covered by a PR and thus should not be shown in the changelog
I discovered this bug while working with polars, but I have traced it down to the arrow2 code. It seems that a None value is not properly handled when a List-type Array has a Struct-type Array nested inside it. This is most easily reproduced by generating a parquet file as follows:
The bug can be observed by adding a breakpoint for
rust_panic
in the following code that usesarrow2
to load the parquet file (this needs to be the most recentpolars
release - 0.13.21).I'm running into the error in the
arrow2::io::parquet::read::deserialize::create_list
function on line 46.That is as far as I've had time to investigate so far. Outside of that issue I've seen nested structs working fine for the test cases I've looked at.
@jorgecarleitao, @ritchie46, what do you think?
The text was updated successfully, but these errors were encountered: