You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "godfrey he (JIRA)" <ji...@apache.org> on 2019/06/05 03:27:00 UTC
[jira] [Created] (FLINK-12734) remove getVolcanoPlanner method from
FlinkOptimizeContext and RelNodeBlock does not depend on TableEnvironment
godfrey he created FLINK-12734:
----------------------------------
Summary: 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
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 {{getVolcanoPlanner}} from {{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)