You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Ruben Q L (Jira)" <ji...@apache.org> on 2021/05/26 15:03:00 UTC

[jira] [Created] (CALCITE-4623) Review if SemiJoinRule shall / shall not match SEMI join

Ruben Q L created CALCITE-4623:
----------------------------------

             Summary: Review if SemiJoinRule shall / shall not match SEMI join
                 Key: CALCITE-4623
                 URL: https://issues.apache.org/jira/browse/CALCITE-4623
             Project: Calcite
          Issue Type: Task
          Components: core
    Affects Versions: 1.26.0
            Reporter: Ruben Q L


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|https://github.com/apache/calcite/commit/48093937ae4db179884d1111fa9d12e978e57e1f]).

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




--
This message was sent by Atlassian Jira
(v8.3.4#803005)