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

SPARQL optimizer does not consider pre-bound variables, creates wrong query

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 2.11.0
    • Jena 2.11.0
    • Optimizer
    • None

    Description

      There is a regression bug somewhere between 2.7.2 and 2.10.2.
      See test case which works green in the old version but fails on the
      latest snapshot. I believe the cause is that
      TransformFilterImplicitJoin.testSpecialCaseUnused() incorrectly assumes
      it can ignore the whole query if it encounters unbound variables.
      However, in my case the variables do have values, coming from the
      initial binding of the QueryExecution.

      Attachments

        1. TestPreboundFilter.java
          1 kB
          Holger Knublauch

        Activity

          People

            andy Andy Seaborne
            holgerknublauch Holger Knublauch
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: