Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3498

OUTER JOIN behavior is improperly excluding some values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.2
    • 2.6.1, 2.7.1
    • jackrabbit-core
    • None

    Description

      Per JCR-3493, the OUTER JOIN behavior of Jackrabbit is improperly excluding nodes. For example, in a RIGHT OUTER JOIN, all the values on the right side of the join should be included, even if the right-hand-side's value in the join column is null. (In such cases, the results should always include the right-hand-side tuple and null values for the left hand side.) The same incorrect behavior is exhibited for LEFT OUTER JOINs.

      JCR-3493 corrected the two test cases:

      • org.apache.jackrabbit.test.api.query.qom.EquiJoinConditionTest#testRightOuterJoin1
      • org.apache.jackrabbit.test.api.query.qom.EquiJoinConditionTest#testLeftOuterJoin2

      add added these as known issues in the "jackrabbit-core/pom.xml" file; when this issue is corrected, those two known issues should be removed.

      Attachments

        Issue Links

          Activity

            People

              stillalex Alex Deparvu
              rhauch Randall Hauch
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: