You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2021/06/04 02:13:00 UTC
[jira] [Closed] (FLINK-15441) Refactor StreamPhysicalWindowJoin to
extends CommonPhysicalJoin
[ https://issues.apache.org/jira/browse/FLINK-15441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jark Wu closed FLINK-15441.
---------------------------
Resolution: Fixed
Has been resolved.
> Refactor StreamPhysicalWindowJoin to extends CommonPhysicalJoin
> ---------------------------------------------------------------
>
> Key: FLINK-15441
> URL: https://issues.apache.org/jira/browse/FLINK-15441
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Planner
> Reporter: Jark Wu
> Priority: Minor
> Labels: auto-deprioritized-major
>
> Currently, {{StreamExecWindowJoin}} put join keys in the {{remainCondition}}, this will generate redundant condition for join keys, and results in [this code branch |https://github.com/apache/flink/blob/master/flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/plan/utils/WindowJoinUtil.scala#L128] is never reached.
> I better desgin is have a new {{joinCondition}} which removes the window bounds condition, and generate condition for non-equal conditions in {{joinCondition}}, and make {{StreamExecWindowJoin}} extends {{CommonPhysicalJoin}} . We should also take filter null join keys into account.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)