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

SemiJoinRule should not apply to RIGHT and FULL JOIN

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.11.0
    • Component/s: core
    • Labels:
      None

      Description

      SemiJoinRule should not apply to RIGHT and FULL JOIN; and it should strip LEFT JOIN once it has disovered that the rows from the right input are unique.

      Original description:

      For IN and EXISTS sub-queries Calcite currently generates plan consisting of GROUP BY on inner table followed by INNER JOIN with outer table. Such cases could be converted using this rule to use SEMI-JOIN to make it more efficient.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julianhyde Julian Hyde
                Reporter:
                vgarg Vineet Garg
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: