Skip to main content

execute_into_builder

Function execute_into_builder 

Source
pub fn execute_into_builder(
    array: ArrayRef,
    builder: Box<dyn ArrayBuilder>,
    ctx: &mut ExecutionCtx,
) -> VortexResult<Box<dyn ArrayBuilder>>
Expand description

Execute array into the given builder.

This uses the encoding’s crate::array::VTable::append_to_builder implementation. Most encodings use the default path of execute::<Canonical> followed by builder.extend_from_array, while encodings like Chunked can override that to append child-by-child without materializing the entire parent.

The builder must have a DType that is a nullability-superset of array.dtype().