Function mz_transform::semijoin_idempotence::list_replacements

source ยท
fn list_replacements(
    expr: &MirRelationExpr,
    let_replacements: &BTreeMap<LocalId, Vec<Replacement>>,
    gets_behind_gets: &BTreeMap<LocalId, Vec<(Id, Vec<MirScalarExpr>)>>,
) -> Vec<Replacement>
Expand description

Return a list of potential semijoin replacements for expr.

This method descends recursively, traversing Get, Project, Reduce, and ArrangeBy operators looking for a Join operator, at which point it defers to the list_replacements_join method.