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.