Function concat_run_arrays

Source
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:

  1. Collecting all run ends and values from input arrays
  2. Adjusting run ends to account for the length of previous arrays
  3. Creating a new RunArray with the combined data