You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Boris Pelakh (JIRA)" <ji...@apache.org> on 2014/06/10 14:42:02 UTC

[jira] [Updated] (JENA-711) LIMIT on inner query incorrectly applied to outer query

     [ https://issues.apache.org/jira/browse/JENA-711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Pelakh updated JENA-711:
------------------------------

    Attachment: jena-bug.ttl
                jena-bug.rq

Use the model in jena-bug.ttl, then run jena-bug.rq query. The result set will have 2 rows, but should have 4.

> LIMIT on inner query incorrectly applied to outer query
> -------------------------------------------------------
>
>                 Key: JENA-711
>                 URL: https://issues.apache.org/jira/browse/JENA-711
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Jena, Optimizer
>    Affects Versions: Jena 2.11.0
>            Reporter: Boris Pelakh
>         Attachments: jena-bug.rq, jena-bug.ttl
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)