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

NOT EXISTS and semi-anti-join

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      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

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

                Dates

                • Created:
                  Updated: