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
Ipc serialization and deserialization of a column containing a dictionary nested within a struct does not seem to work as expected right now. Here's a small code snippet exhibiting that behavior.
FWIW when I tried the reproducer on current apache/master I still see an error:
Finished dev [unoptimized + debuginfo] target(s) in 18.38s
Running `target/debug/rust_arrow_playground`
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: InvalidArgumentError("dictionary id not found in schema")', src/main.rs:39:65
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@alamb Currently the deserializer only considers dictionaries at the top-level of the schema, so when a dictionary id is found during loading that is not at the top-level of the schema you get the panic above. I have a working fix, I'll submit a PR that closes this probably tomorrow.
Ipc serialization and deserialization of a column containing a dictionary nested within a struct does not seem to work as expected right now. Here's a small code snippet exhibiting that behavior.
The code panics when the struct field is a dictionary, but works as expected for other types.
The text was updated successfully, but these errors were encountered: