[
https://issues.apache.org/jira/browse/FLINK-14724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
godfrey he updated FLINK-14724:
-------------------------------
Description: 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.
(was: 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.)
> 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.0, 1.9.1
> Reporter: godfrey he
> Priority: Major
> 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)