Skip to main content

list_from_list_view

Function list_from_list_view 

Source
pub fn list_from_list_view(
    list_view: ListViewArray,
    ctx: &mut ExecutionCtx,
) -> VortexResult<ListArray>
Expand description

Creates a ListArray from a ListViewArray.

The resulting ListArray will not have any leading or trailing garbage data.

This operation is fast when ListViewArray::is_zero_copy_to_list is true. Otherwise it falls back to the (very) expensive path and rebuilds the ListArray from scratch.