pub fn nested_lists(
item_name: &str,
item_type: DataType,
lengths: &[usize],
values: ArrayRef,
) -> Result<ArrayRef>Expand description
A List<item_name: item_type> column over already-built per-row children.
Used where the list’s element is itself a struct — Path’s stamped poses
— so the child column is built once for every row concatenated and the
offsets slice it back apart.
§Errors
DataError when the lengths do not sum to the child’s
length, or when the child’s type differs from item_type.