// take implementation when both values and indices contain nulls
take implementation when both values and indices contain nulls
take implementation when both values and indices contain nulls
fn take_values_indices_nulls<T, I>(
    values: &PrimitiveArray<T>,
    indices: &PrimitiveArray<I>,
) -> Result<(Buffer, Option<Buffer>)>
where
    T: ArrowPrimitiveType,
    I: ArrowNumericType,
    I::Native: ToPrimitive,
{
    take_values_indices_nulls_inner(
        values.values(),
        values.data(),
        indices.values(),
        indices.data(),
    )
}
fn take_values_indices_nulls < T , I > ( values : & PrimitiveArray < T > , indices : & PrimitiveArray < I > , ) -> Result < ( Buffer , Option < Buffer > ) > where T : ArrowPrimitiveType , I : ArrowNumericType , I :: Native : ToPrimitive , { take_values_indices_nulls_inner ( values . values ( ) , values . data ( ) , indices . values ( ) , indices . data ( ) , ) }
take implementation when both values and indices contain nulls
take implementation when both values and indices contain nulls
values
&PrimitiveArray<T>
indices
&PrimitiveArray<I>