Skip to main content

run_kclique_specs

Function run_kclique_specs 

Source
pub fn run_kclique_specs<F>(
    plan: &mut ExecutionPlan,
    schemas: &HashMap<RelId, Schema>,
    allocate: F,
) -> Vec<HelperRelationSpec>
where F: FnMut(Schema) -> (String, RelId),
Expand description

K-clique helper split entry for K-clique plans that already carry planner-produced HelperSplitSpecs. The pass reuses the compiler-owned helper-relation lifecycle: emit a helper rule before the consumer rule, allocate a compiler-owned helper relation, and rewrite the consumer to scan that helper.