Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1831

Algebra transform to optimize queries fails with a certain type of Union

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 3.11.0, Jena 3.12.0, Jena 3.13.0, Jena 3.14.0
    • Jena 3.15.0
    • SDB
    • None

    Description

      Encountered a case using a UNION in a query to select e.g. objects where type is asserted as X, Y or Z (but not A, B, C, etc.)

      Pull request prevents the transformer from copying restrictions out of a UNION so that the algebra is correct in this case.

      Includes a test for a query that exhibits the problem. All previously existing transformer tests are unmodified and continue to pass, as do all the other unit tests in SDB.

      https://github.com/apache/jena/pull/681

      Attachments

        Issue Links

          Activity

            People

              andy Andy Seaborne
              grahamtriggs Graham Triggs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h