arrow_select::take

Function take_fixed_size_list

Source
fn take_fixed_size_list<IndexType: ArrowPrimitiveType>(
    values: &FixedSizeListArray,
    indices: &PrimitiveArray<IndexType>,
    length: <UInt32Type as ArrowPrimitiveType>::Native,
) -> Result<FixedSizeListArray, ArrowError>
Expand description

take implementation for FixedSizeListArray

Calculates the index and indexed offset for the inner array, applying take on the inner array, then reconstructing a list array with the indexed offsets