[ https://issues.apache.org/jira/browse/FLINK-32831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17759405#comment-17759405 ]
Lijie Wang commented on FLINK-32831: ------------------------------------ Fixed via master: 43bcf319ff6104e1af829e34ae8a430c6417622d f518f8a5bdfcde4912961f60075e530399160f43 07888af59bbc2d24afa049e8a6aedcd9eb822986 a68dd419718b4304343c2b27dab94394c88c67b5 release-1.18: ac3f3cf4802d0271349636322dbd16772e86453b e48a02628349cdfdecf7a1aedd2a576fa2a7caf3 6938b928e0104f6b222a4281fbdc7bde20260f3b fa2ab5e3bfe401d0c599c8ffd224aafb69d6d503 > 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 > Assignee: Lijie Wang > Priority: Major > Labels: pull-request-available > > 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)