pub(crate) fn append_right_indices(
left_indices: UInt64Array,
right_indices: UInt32Array,
adjust_range: Range<usize>,
preserve_order_for_right: bool,
) -> Result<(UInt64Array, UInt32Array)>Expand description
Appends right indices to left indices based on the specified order mode.
The function operates in two modes:
- If
preserve_order_for_rightis true, probe matched and unmatched indices are inserted in order using theappend_probe_indices_in_order()method. - Otherwise, unmatched probe indices are simply appended after matched ones.
§Parameters
left_indices: UInt64Array of left indices.right_indices: UInt32Array of right indices.adjust_range: Range to adjust the right indices.preserve_order_for_right: Boolean flag to determine the mode of operation.
§Returns
A tuple of updated UInt64Array and UInt32Array.