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

NOT EXISTS and semi-anti-join

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      EXISTS can be converted to a SemiJoin via RelDecorrelator and the SemiJoinRule. NOT EXISTS currently requires access to the boolean "indicator column", therefore the SemiJoinRule does not work.

      We need to add a 'boolean negate' member to SemiJoinRel, and fix up SemiJoinRule to generate it.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              julianhyde Julian Hyde
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: