morsel_parallel_probe_sqlvalue

Function morsel_parallel_probe_sqlvalue 

Source
pub fn morsel_parallel_probe_sqlvalue(
    probe_rows: &[Row],
    probe_col_idx: usize,
    hash_table: &AHashMap<SqlValue, Vec<usize>>,
    config: &MorselConfig,
) -> Vec<(usize, usize)>
Expand description

Morsel-driven parallel probe for hash join with SqlValue keys.

Probes rows against a hash table using work-stealing for dynamic load balancing. Returns index pairs (build_idx, probe_idx) for matched rows.

§Arguments

  • probe_rows: Rows to probe against the hash table
  • probe_col_idx: Column index to use as the probe key
  • hash_table: Hash table mapping SqlValue keys to build row indices
  • config: Morsel configuration

§Returns

Vector of (build_idx, probe_idx) pairs for matched rows.