Lijie Wang created FLINK-32831: ---------------------------------- Summary: RuntimeFilterProgram should aware join type when looking for the build side Key: FLINK-32831 URL: https://issues.apache.org/jira/browse/FLINK-32831 Project: Flink Issue Type: Bug Components: Table SQL / Planner Affects Versions: 1.18.0 Reporter: Lijie Wang
Currently, runtime filter program will try to look for an {{Exchange}} as build side to avoid affecting {{MultiInput}}. It will try to push down the runtime filter builder if the original build side is not {{Exchange}}. Currenlty, the builder-push-down does not aware the join type, which may lead to incorrect results(For example, push down the builder to the right input of left-join). We should only support following cases: 1. Inner join: builder can push to left + right input 2. semi join: builder can push to left + right input 3. left join: builder can only push to the left input 4. right join: builder can only push to the right input -- This message was sent by Atlassian Jira (v8.20.10#820010)