risingwave_frontend::optimizer::plan_node::generic::join

Function push_down_to_inputs

source
fn push_down_to_inputs(
    predicate: &mut Condition,
    left_col_num: usize,
    right_col_num: usize,
    push_left: bool,
    push_right: bool,
    push_temporal_predicate: bool,
) -> (Condition, Condition)
Expand description

Try to split and pushdown predicate into a join’s left/right child. Returns the pushed predicates. The pushed part will be removed from the original predicate.

InputRefs in the right Condition are shifted by -left_col_num.