Work on this is happening on JENA-500 as well as discussions on the dev@ list.

JENA-500 has just been marked "resolved" and initial bindings will be applied before optimization. There is no change to existing successful use - new cases are now enabled.

        Andy

dev@ discussion:
http://markmail.org/message/qtztij2t2hxouz3g

JIRA
https://issues.apache.org/jira/browse/JENA-500

On 05/08/13 17:47, Rob Vesse wrote:
Holger


Yes that more common case you've identified would be affected so switching
this optimizer off until we've resolved this is the way to go

Rob

On 8/4/13 6:05 PM, "Holger Knublauch" <[email protected]> wrote:

On 8/3/2013 23:09, Andy Seaborne wrote:
Please file a JIRA for this and attach the test case.

Done.


It would also be good to find out why this case arises when other
cases when FILTER/unbound evaluation is detected have not arisen.
Maybe the situations are simply less common.

I have switched off this optimizer for now so that I can continue
evaluating the new Jena version. The test case that I sent was
(obviously) artificial, just the bare minimum. The surrounding use case
is common though in our code base, e.g.:

BIND (ex:someFunction(?x) AS ?y) .
FILTER ?prebound = ?y .

It does not resemble the pattern that the optimizer is trying to
address, which I understand to be

<a> <b> ?x .
<c> <b> ?y .
FILTER ?x = ?y .

HTH - and thanks for looking into this.

Holger



Reply via email to