[
https://issues.apache.org/jira/browse/JENA-627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13885937#comment-13885937
]
Andy Seaborne commented on JENA-627:
------------------------------------
I've reviewed the code for the transformation and cleaned up dubious cases
handling the situation of no changes.
Some tests change - the only changes are to the order of exprlists which do not
affect their evaluation but do affect .equals. The meaning of the tests isn't
changed.
Thanks for spotting the .remove() -- I was getting inconsistent effects while
debugging and some clearing up was due to that, not all specific test cases.
buildFilter does not need to call it? insertAnyFilter probably as object churn
could get quite high.
> SPARQL query evaluation seems to be broken
> ------------------------------------------
>
> Key: JENA-627
> URL: https://issues.apache.org/jira/browse/JENA-627
> Project: Apache Jena
> Issue Type: Bug
> Components: Fuseki
> Affects Versions: TDB 1.0.1
> Reporter: Michael Brunnbauer
> Assignee: Andy Seaborne
>
> This query - used on a non-empty default graph - will return no results.
> It will work if you remove the FILTER(1). With TDB 1.0.0, both queries would
> return a result.
> {noformat}
> select ?s ?p ?o where {
> { ?s ?p ?o } UNION { FILTER(0) }
> FILTER(1)
> } limit 1
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)