You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "godfrey he (Jira)" <ji...@apache.org> on 2019/11/12 12:39:00 UTC

[jira] [Created] (FLINK-14724) Join condition could be simplified in logical phase

godfrey he created FLINK-14724:
----------------------------------

             Summary: Join condition could be simplified in logical phase
                 Key: FLINK-14724
                 URL: https://issues.apache.org/jira/browse/FLINK-14724
             Project: Flink
          Issue Type: Sub-task
          Components: Table SQL / Planner
    Affects Versions: 1.9.1, 1.9.0
            Reporter: godfrey he
             Fix For: 1.10.0


currently the plan of tpcds q38.sql contains {{NestedLoopJoin}}, because it's join condition is {{CAST(AND(IS NOT DISTINCT FROM($2, $3), IS NOT DISTINCT FROM($1, $4), IS NOT DISTINCT FROM($0, $5))):BOOLEAN}}, and planner can't find equal join keys from the condition by {{Join#analyzeCondition. {{SimplifyJoinConditionRule}} could solve this.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)