Skip to main content

take_bits_with_validity

Function take_bits_with_validity 

Source
fn take_bits_with_validity<I: ArrowPrimitiveType, const CHECKED: bool>(
    values: &BooleanBuffer,
    validity: &BooleanBuffer,
    indices: &PrimitiveArray<I>,
) -> (BooleanBuffer, Option<NullBuffer>)
Expand description

Gather value bits and validity bits from two boolean buffers in a single pass. Used when the values array itself has nulls, avoiding two separate take_bits calls.