Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4742

Make outer join reordering work for right outer joins

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.0.2.0, 10.0.2.1, 10.1.1.0, 10.1.2.1, 10.1.3.1, 10.2.1.6, 10.2.2.0, 10.3.1.4, 10.3.2.1, 10.3.3.0, 10.4.1.3, 10.4.2.0, 10.5.1.1, 10.5.2.0, 10.5.3.0, 10.6.1.0
    • None
    • SQL
    • Normal

    Description

      Currently, Derby only attempts to reorder (into left deep) left outer join queries. Right outer join queries are commented out, apparently due to implementation difficulties, cf. this comment in HalfOuterJoinNode.LOJ_reorderable.

      // It is much easier to do LOJ reordering if there is no ROJ.
      // However, we ran into some problem downstream when we transform an ROJ
      // into LOJ – transformOuterJoin() didn't expect ROJ to be transformed
      // into LOJ alread. So, we skip optimizing ROJ at the moment.

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            dagw Dag H. Wanvik

            Dates

              Created:
              Updated:

              Slack

                Issue deployment