Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-3910

Enhance ProjectJoinTransposeRule to support SemiJoin and AntiJoin

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.22.0
    • Fix Version/s: 1.24.0
    • Component/s: core

      Description

      Currently, ProjectJoinTransposeRule does not support push project pass SemiJoin and AntiJoin.

      public void onMatch(RelOptRuleCall call) {
        Project origProj = call.rel(0);
        final Join join = call.rel(1);
      
        if (!join.getJoinType().projectsRight()) {
          return; // TODO: support SemiJoin / AntiJoin
        }
        ...
        ...
      }

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fan_li_ya Liya Fan
                Reporter:
                Chunwei Lei Chunwei Lei
              • Votes:
                0 Vote for this issue
                Watchers:
                7 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 - 1h 50m
                  1h 50m