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

SemiJoinRule should not apply to RIGHT and FULL JOIN

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.11.0
    • core
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: