jena-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Seaborne (Commented) (JIRA)" <>
Subject [jira] [Commented] (JENA-154) TDB does not manage the scope of a variable in GRAPH ?g correctly.
Date Thu, 03 Nov 2011 12:17:32 GMT


Andy Seaborne commented on JENA-154:

Stage 1 : ARQ's default execution was getting the wrong answers.

Fix to ARQ applied into SVN for this.

The problem is that use of ?g in GRAPH ?g (mention in FILTER or bind in a pattern) should.

Use of ?g elsewhere earlier is detected by the optimizer and a non-flow based join done. 
But the case of first use in GRAPH ?g was not considered. ?g was being bound and then the
sub-pattern executed.

Instead a lightweight stream join is done after sub-pattern is evaluated.  As this works well
for the common case of not having ?g used inside the subpattern, it is now the default execution
pattern.  The optimizer scope tracking does not need to be modified.

Stage 2: investigate TDB usage (quad usage) because that shows erroneous behavior as well.

> TDB does not manage the scope of a variable in GRAPH ?g correctly.
> ------------------------------------------------------------------
>                 Key: JENA-154
>                 URL:
>             Project: Jena
>          Issue Type: Bug
>          Components: ARQ, TDB
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>         Attachments:

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message