You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/arrow-ipc-53.0.0/src/convert.rs:98:30:
called `Option::unwrap()` on a `None` value
on list array data created by Arrow JavaScript, which does not have a name field set. The name is not required to be set.
To Reproduce
This JavaScript code creates this IPC buffer (output data here: data.arrows.zip)
import{tableFromArrays,tableToIPC}from"apache-arrow"import{Table}from"parquet-wasm"consttable=tableFromArrays({column: [[1,2],[3,4]],})constipc=tableToIPC(table,"stream")// This loads the IPC buffer using arrow-rsTable.fromIPCStream(ipc)
Loading this with pyarrow, we see that the inner list field has no name set (which pyarrow infers as an empty string)
Describe the bug
The line here:
arrow-rs/arrow-ipc/src/convert.rs
Line 98 in 5414f1d
panics
on list array data created by Arrow JavaScript, which does not have a name field set. The name is not required to be set.
To Reproduce
This JavaScript code creates this IPC buffer (output data here: data.arrows.zip)
Loading this with pyarrow, we see that the inner list field has no name set (which pyarrow infers as an empty string)
Expected behavior
IPC Reader should not panic.
Additional context
Originally reported in kylebarron/parquet-wasm#606
The text was updated successfully, but these errors were encountered: