Skip to main content

substitute_row_count

Function substitute_row_count 

Source
pub fn substitute_row_count(
    array: ArrayRef,
    replacement: &ArrayRef,
) -> VortexResult<ArrayRef>
Expand description

Replaces every RowCount placeholder with replacement.

The replacement must have the same dtype and length as each placeholder. Lazy ScalarFnArray ancestors are rewritten through slot take/put so unaffected children are preserved, while non-ScalarFn arrays are returned unchanged.