pub fn shuffle_hash_join(
left_batch: &TermBatch,
right_batch: &TermBatch,
left_col_keys: &[usize],
right_col_keys: &[usize],
right_carry: &[usize],
soft_pairs: &[(usize, usize)],
partitions: usize,
) -> Result<TermBatch, ExecError>Expand description
Hash-partition both sides by join-key TermId, then vectorized-join each partition (Phase 9b shuffle).
Idea: rows that could match must land in the same partition (same key hash).
Join each partition independently with hash_join_columnar, then stack
the results with TermBatch::concat.
Semantics match hash_join; empty keys fall back to a single cartesian.