[
https://issues.apache.org/jira/browse/FLINK-37980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Nuyanzin updated FLINK-37980:
------------------------------------
Fix Version/s: 2.2.0
> Adapt Multi-way join to higher Calcite versions (Calcite 1.35+)
> ---------------------------------------------------------------
>
> Key: FLINK-37980
> URL: https://issues.apache.org/jira/browse/FLINK-37980
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / Planner
> Affects Versions: 2.1.0
> Reporter: Sergey Nuyanzin
> Assignee: Sergey Nuyanzin
> Priority: Major
> Fix For: 2.2.0
>
>
> The problem with current implementation is
> {code:java}
> FlinkLogicalJoin flinkLogicalJoin = (FlinkLogicalJoin)
> FlinkLogicalJoin.CONVERTER().convert(join);
> {code}
> in {{JoinToMultiJoinRule#isIntervalJoin}}.
> Which results to {{HepRelVertex}} in {{RelSubset#add}}.
> In 1.35 it was made throwing error for such behavior
> https://github.com/apache/calcite/commit/7fc3e1b007fd9fd921c7929f27ac6cf3e75a15fd#diff-23f79975c4d8d77b7a09299831fe47c69c4f65fe8639bc4ceb956321a33da634R358.
> In fact in order to answer a question whether it is interval join or not
> there is no need to call {{FlinkLogicalJoin.CONVERTER().convert(join)}} at
> all.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)