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
)
# Description
When creating a RecordBatch with one of the columns being a MapArray,
there are issues with naming of sub-columns, as well as nullability of
the "elements/key_value" sub-column.
# Related Issue(s)
- closes#1257
# Documentation
See https://www.rustexplorer.com/b/o7bfm4 for a breaking example.
I initially thought that the issue is specifically for array with
0-length maps, but `nullable` mismatch happens even when all of the map
elements have values.
Environment
Delta-rs version: 0.8.0
Binding: Rust
Environment:
Bug
What happened: When trying to create a RecordBatch with MapArray, I get the following error:
What you expected to happen: Successful creation of
RecordBatch
without any errors.How to reproduce it: Create a
MapArray
andRecordBatch
with it (See rust explorer link above).More details:
I believe these lines are at fault. https://github.com/delta-io/delta-rs/blob/main/rust/src/delta_arrow.rs#L145-L161
Hopefully I will be able to test this hypothesis and make a PR in few hours.
The text was updated successfully, but these errors were encountered: