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

SemiJoinRule should not match SEMI join

    XMLWordPrintableJSON

Details

    Description

      Issue pointed out by zabetak during the review of CALCITE-4621.

      Currently, SemiJoinRule (both CoreRules.JOIN_TO_SEMI_JOIN and CoreRules.PROJECT_TO_SEMI_JOIN) matches INNER, LEFT and SEMI join. This last join type seems a bit bizarre (why matching a SEMI join if the purpose of this rule is precisely generating one?).
      It seems that SEMI was introduced in the rule by the "big join design refactoring" (see CALCITE-2969 and 4809393).

      The purpose of this ticket is to confirm whether or not processing SEMI in SemiJoinRule makes sense (and if not, remove it).

      Attachments

        Issue Links

          Activity

            People

              zabetak Stamatis Zampetakis
              rubenql Ruben Q L
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 0.5h
                  0.5h