fn concat_run_arrays<R: RunEndIndexType>(
arrays: &[&dyn Array],
) -> Result<ArrayRef, ArrowError>where
R::Native: Add<Output = R::Native>,
Expand description
Concatenate multiple RunArray instances into a single RunArray.
This function handles the special case of concatenating RunArrays by:
- Collecting all run ends and values from input arrays
- Adjusting run ends to account for the length of previous arrays
- Creating a new RunArray with the combined data