[
https://issues.apache.org/jira/browse/JENA-627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13885746#comment-13885746
]
Rob Vesse commented on JENA-627:
--------------------------------
[~andy.seaborne] For 1 both insertAnyFilter() and buildFilter() iterate over
the ExprList iterator() and call remove() on that iterator which is likely the
cause of the mutating ExprList. These are not used when not placing into BGPs
which would explain the behavioural difference
As for 2 I'm not sure, possibly fixing 1 will make 2 go away but maybe not?
> 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)