append_probe_indices_in_order

Function append_probe_indices_in_order 

Source
fn append_probe_indices_in_order(
    build_indices: PrimitiveArray<UInt64Type>,
    probe_indices: PrimitiveArray<UInt32Type>,
    range: Range<usize>,
) -> (PrimitiveArray<UInt64Type>, PrimitiveArray<UInt32Type>)
Expand description

Appends probe indices in order by considering the given build indices.

This function constructs new build and probe indices by iterating through the provided indices, and appends any missing values between previous and current probe index with a corresponding null build index.

§Parameters

  • build_indices: PrimitiveArray of UInt64Type containing build indices.
  • probe_indices: PrimitiveArray of UInt32Type containing probe indices.
  • range: The range of indices to consider.

§Returns

A tuple of two arrays:

  • A PrimitiveArray of UInt64Type with the newly constructed build indices.
  • A PrimitiveArray of UInt32Type with the newly constructed probe indices.