fn take_indices_nulls<T, I>(
    values: &[T],
    indices: &PrimitiveArray<I>,
) -> Result<(Buffer, Option<Buffer>)>
where
    T: ArrowNativeType,
    I: ArrowNumericType,
    I::Native: ToPrimitive,
{
    take_indices_nulls_inner(values, indices.values(), indices.data())
}
// take implementation when only indices contain nulls
take implementation when only indices contain nulls
take implementation when only indices contain nulls
fn take_indices_nulls<T, I>(
    values: &[T],
    indices: &PrimitiveArray<I>,
) -> Result<(Buffer, Option<Buffer>)>
where
    T: ArrowNativeType,
    I: ArrowNumericType,
    I::Native: ToPrimitive,
{
    take_indices_nulls_inner(values, indices.values(), indices.data())
}
fn take_indices_nulls < T , I > ( values : & [ T ] , indices : & PrimitiveArray < I > , ) -> Result < ( Buffer , Option < Buffer > ) > where T : ArrowNativeType , I : ArrowNumericType , I :: Native : ToPrimitive , { take_indices_nulls_inner ( values , indices . values ( ) , indices . data ( ) ) }
take implementation when only indices contain nulls
take implementation when only indices contain nulls
values
&[T]
indices
&PrimitiveArray<I>
values
&[T]
indices
&PrimitiveArray<I>