Skip to main content

take_masked_child

Function take_masked_child 

Source
fn take_masked_child<IndexType: ArrowPrimitiveType, const VALIDATE_INDICES: bool>(
    values: &dyn Array,
    indices: &PrimitiveArray<IndexType>,
) -> Result<ArrayRef, ArrowError>
Expand description

Takes a child of a struct or fixed-size list for indices.

The parent marks the rows of null take indices null in its own validity, so the child’s values at those rows are unspecified. A child that cannot store a null is taken with dummy indices there instead, unless it is empty and has no value to use as a dummy.