Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-12734

remove getVolcanoPlanner method from FlinkOptimizeContext and RelNodeBlock does not depend on TableEnvironment

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              godfreyhe godfrey he
              godfreyhe godfrey he
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m