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