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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)