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

NOT EXISTS and semi-anti-join

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            julianhyde Julian Hyde

            Dates

              Created:
              Updated:

              Slack

                Issue deployment