fn take_native<T: ArrowNativeType, I: ArrowPrimitiveType>( values: &[T], indices: &PrimitiveArray<I>, ) -> ScalarBuffer<T>