get_final_indices_from_bit_map

Function get_final_indices_from_bit_map 

Source
pub(crate) fn get_final_indices_from_bit_map(
    left_bit_map: &BooleanBufferBuilder,
    join_type: JoinType,
    piecewise: bool,
) -> (UInt64Array, UInt32Array)
Expand description

In the end of join execution, need to use bit map of the matched indices to generate the final left and right indices.

For example:

  1. left_bit_map: [true, false, true, true, false]
  2. join_type: Left

The result is: ([1,4], [null, null])