[
https://issues.apache.org/jira/browse/FLINK-12734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kurt Young closed FLINK-12734.
------------------------------
Resolution: Implemented
Fix Version/s: 1.9.0
merged in 13a0900edcd70354018d53aa2a66f9e713c25720
> remove getVolcanoPlanner method from FlinkOptimizeContext and RelNodeBlock
> does not depend on TableEnvironment
> --------------------------------------------------------------------------------------------------------------
>
> Key: FLINK-12734
> URL: https://issues.apache.org/jira/browse/FLINK-12734
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Planner
> Reporter: godfrey he
> Assignee: godfrey he
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.9.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> there are two improvements:
> 1. remove {{getVolcanoPlanner}} method from {{FlinkOptimizeContext}}.
> {{VolcanoPlanner}} limits that the planer a {{RelNode}} tree belongs to and
> the {{VolcanoPlanner}} used to optimize the {{RelNode}} tree should be same
> instance. (see: {{VolcanoPlanner}}#registerImpl)
> so, we can use planner instance in {{RelNode}}'s cluster directly instead of
> planner from {{getVolcanoPlanner}} method in {{FlinkOptimizeContext}}.
> 2. {{RelNodeBlock}} does not depend on {{TableEnvironment}}
> In {{RelNodeBlock}}, only {{TableConfig}} is used.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)