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

JoinCommuteRule must not match SEMI / ANTI join

    XMLWordPrintableJSON

    Details

      Description

      JoinCommuteRule must not match SEMI / ANTI join, because these types cannot be swapped.

      This is a minor issue, because the "default" JoinCommuteRule.INSTANCE matches only INNER joins. However, there is another version of the rule (JoinCommuteRule.SWAP_OUTER, currently only used in a few unit tests), to match also outer joins, which could potentially match a SEMI / ANTI join.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rubenql Ruben Q L
                Reporter:
                rubenql Ruben Q L
              • Votes:
                0 Vote for this issue
                Watchers:
                3 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 - 40m
                  40m