pub fn take_no_null_bool_iter<I: IntoIterator<Item = usize>>(
    arr: &BooleanArray,
    indices: I,
) -> Arc<BooleanArray> {
    debug_assert_eq!(arr.null_count(), 0);

    let iter = indices.into_iter().map(|idx| Some(arr.value(idx)));

    Arc::new(iter.collect())
}
/// Take kernel for single chunk without nulls and an iterator as index that does bound checks.
Take kernel for single chunk without nulls and an iterator as index that does bound checks.
Take kernel for single chunk without nulls and an iterator as index that does bound checks .
pub fn take_no_null_bool_iter<I: IntoIterator<Item = usize>>(
    arr: &BooleanArray,
    indices: I,
) -> Arc<BooleanArray> {
    debug_assert_eq!(arr.null_count(), 0);
    let iter = indices.into_iter().map(|idx| Some(arr.value(idx)));
    Arc::new(iter.collect())
}
pub fn take_no_null_bool_iter < I : IntoIterator < Item = usize > > ( arr : & BooleanArray , indices : I , ) -> Arc < BooleanArray > { debug_assert_eq ! ( arr null_count ( ) 0 ) ; let iter = indices . into_iter ( ) . map ( | idx | Some ( arr . value ( idx ) ) ) ; Arc :: new ( iter . collect ( ) ) }
Take kernel for single chunk without nulls and an iterator as index that does bound checks.
Take kernel for single chunk without nulls and an iterator as index that does bound checks .
arr
&BooleanArray
indices
I
arr
&BooleanArray
indices
I