Skip to main content

execute_rows

Function execute_rows 

Source
pub fn execute_rows<F: RowFn>(
    function: &F,
    options: &F::Options,
    args: &dyn ExecutionArgs,
    ctx: &mut ExecutionCtx,
) -> VortexResult<ArrayRef>
Expand description

Execute a RowFn without using its blanket ScalarFnVTable implementation.

A type cannot implement both RowFn and ScalarFnVTable because every RowFn receives the standard vtable automatically. Existing vtables can keep their custom hooks on one type and delegate row execution to a private RowFn kernel through this function.

Nullary functions execute for args.row_count() rows without batch validity handling because they have no input validity to propagate.