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

Add support for generating optimized logical plan for join on batch

    XMLWordPrintableJSON

Details

    Description

      Currently, there are 3 types of batch physical join nodes: BatchExecHashJoin, BatchExecSortMergeJoin and BatchExecNestedLoopJoin. This issue aims to add rules to convert logical join to appropriate physical join.

      a logical join

      • can be converted to BatchExecHashJoin if there exists at least one equal-join condition and ShuffleHashJoin or BroadcastHashJoin are enabled,
      • can be converted to BatchExecSortMergeJoin if there exists at least one equal-join condition and SortMergeJoin is enabled,
      • can be converted to BatchExecNestedLoopJoin if NestedLoopJoin is enabled or one of join input sides returns at most a single row.

      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