godfrey he created FLINK-12079:
----------------------------------
Summary: Add support for generating optimized logical plan for join on batch
Key: FLINK-12079
URL:
https://issues.apache.org/jira/browse/FLINK-12079 Project: Flink
Issue Type: New Feature
Components: Table SQL / Planner
Reporter: godfrey he
Assignee: godfrey he
Currently, there are 3 types of batch physical join nodes: {{BatchExecHashJoin}}, {{BatchExecSortMergeJoin}} and {{BatchExecNestedLoopJoin}}. This issue aims to add rules to convert logical join to appropriate physical join.
a logical join
* can be converted to {{BatchExecHashJoin}} if join keys are not empty and ShuffleHashJoin or BroadcastHashJoin are enabled,
* can be converted to {{BatchExecSortMergeJoin}} if join keys are not empty and SortMergeJoin is enabled,
* can be converted to {{BatchExecNestedLoopJoinRule}} if NestedLoopJoin is enabled or one of join input sides returns at most a single row.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)