Skip to main content

hash_join_build

Function hash_join_build 

Source
pub fn hash_join_build(
    right_batch: &TermBatch,
    right_col_keys: &[usize],
) -> Result<JoinBuild, ExecError>
Expand description

Build a right-side hash table for hash_join_columnar_capped, using the process-wide layout from WARATAH_JOIN_TABLE (default csr; see JoinTableMode).

Empty right_col_keys (cartesian) or a right whose keys are all unbound yield [JoinBuild::Empty]. The HT lives for the life of this leftĂ—right pair; drop it when the build relation is replaced or the OpenNode dies.