risingwave_frontend::optimizer::plan_node::generic

Function push_down_into_join

source
pub fn push_down_into_join(
    predicate: &mut Condition,
    left_col_num: usize,
    right_col_num: usize,
    ty: JoinType,
    push_temporal_predicate: bool,
) -> (Condition, Condition, Condition)
Expand description

Try to split and pushdown predicate into a into a join condition and into the inputs of the join. Returns the pushed predicates. The pushed part will be removed from the original predicate.

InputRefs in the right pushed condition are indexed by the right child’s output schema.