Skip to main content

left_hash_join_columnar

Function left_hash_join_columnar 

Source
pub fn left_hash_join_columnar(
    left_batch: &TermBatch,
    right_batch: &TermBatch,
    left_col_keys: &[usize],
    right_col_keys: &[usize],
    right_carry: &[usize],
    soft_pairs: &[(usize, usize)],
    probe_filter: Option<&LeftJoinProbeFilter<'_>>,
) -> Result<TermBatch, ExecError>
Expand description

Columnar left outer hash join: same semantics as left_hash_join.

Always builds on the right and probes every left row (including unbound-key left rows, which emit unbound right-carry). Empty keys use the same Diff-once nested loop as the scalar path: compatible pairs form a cartesian; if every optional extension is incompatible, keep the left row with unbound right-carry.

Implemented as left_hash_join_columnar_indices (Diff-once probe) then gather_left_join_indices_columnar so compute can insert a residual FILTER pass on the index lists before gather.