-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
arrowChanges to the arrow crateChanges to the arrow crateenhancementAny new improvement worthy of a entry in the changelogAny new improvement worthy of a entry in the changelog
Description
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
DataType::ListView and DataType::LargeListView in are not handled in ArrayData::new_null:
arrow-rs/arrow-data/src/data.rs
Lines 608 to 623 in 49ed6ef
| DataType::List(f) | DataType::Map(f, _) => ( | |
| vec![zeroed((len + 1) * 4)], | |
| vec![ArrayData::new_empty(f.data_type())], | |
| true, | |
| ), | |
| DataType::LargeList(f) => ( | |
| vec![zeroed((len + 1) * 8)], | |
| vec![ArrayData::new_empty(f.data_type())], | |
| true, | |
| ), | |
| DataType::FixedSizeList(f, list_len) => ( | |
| vec![], | |
| vec![ArrayData::new_null(f.data_type(), *list_len as usize * len)], | |
| true, | |
| ), | |
| DataType::Struct(fields) => ( |
Describe the solution you'd like
Describe alternatives you've considered
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
arrowChanges to the arrow crateChanges to the arrow crateenhancementAny new improvement worthy of a entry in the changelogAny new improvement worthy of a entry in the changelog