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

Introduce join reorder planner rules in blink planner

    XMLWordPrintableJSON

Details

    Description

      This issue aims to let blink planner support join reorder. LoptOptimizeJoinRule in Calcite could meet our requirement for now, so we could use directly this rule in blink planner. JoinToMultiJoinRule , ProjectMultiJoinMergeRule and FilterMultiJoinMergeRule should be also introduced to support LoptOptimizeJoinRule.

      additionally, we add a new rule named RewriteMultiJoinConditionRule which could apply transitive closure on `MultiJoin` for equi-join predicates to create more optimization possibilities.

      by default, join reorder is disabled, unless sql.optimizer.join-reorder.enabled is set as true.

      Attachments

        Issue Links

          Activity

            People

              godfreyhe godfrey he
              godfreyhe godfrey he
              Votes:
              0 Vote for this issue
              Watchers:
              2 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