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

LIMIT on inner query incorrectly applied to outer query

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • Jena 2.11.0
    • Jena 2.11.2
    • Jena, Optimizer
    • None

    Description

      When executing a query that uses a VALUES binding in an inner query along with a LIMIT on the inner query, the LIMIT is incorrectly applied to the entire result set. Switching from VALUES to FILTER .. IN works around the problem.

      Attachments

        1. jena-bug.rq
          0.2 kB
          Boris Pelakh
        2. jena-bug.ttl
          0.2 kB
          Boris Pelakh

        Issue Links

          Activity

            People

              andy Andy Seaborne
              bpelakh Boris Pelakh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: