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