Skip to main content

deep_slice_array_erased

Function deep_slice_array_erased 

Source
pub fn deep_slice_array_erased(
    array: &dyn Array,
    offset: usize,
    length: usize,
) -> ArrayRef
Expand description

Deep-slicing operation for Arrow arrays.

The data, offsets, bitmaps and any other buffers required will be reallocated, copied around, and patched as much as required so that the resulting physical data becomes as packed as possible for the desired slice.

This is the erased version, see deep_slice_array for a typed implementation.