Skip to main content

runend_encode_bool

Function runend_encode_bool 

Source
pub fn runend_encode_bool(
    array: ArrayView<'_, Bool>,
    ctx: &mut ExecutionCtx,
) -> VortexResult<(PrimitiveArray, ArrayRef)>
Expand description

Run-end encode a BoolArray without nulls, returning a tuple of (ends, values).

The values child keeps the input’s nullability.

§Errors

Returns an error if the array contains nulls.