need_produce_right_in_final

Function need_produce_right_in_final 

Source
pub(crate) fn need_produce_right_in_final(join_type: JoinType) -> bool
Expand description

Should we use a bitmap to track each incoming right batch’s each row’s ‘joined’ status.

For example in right joins, we have to use a bit map to track matched right side rows, and later enter a EmitRightUnmatched stage to emit unmatched right rows.