jena-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Seaborne (Commented) (JIRA)" <j...@apache.org>
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

    [ https://issues.apache.org/jira/browse/JENA-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143065#comment-13143065
] 

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: https://issues.apache.org/jira/browse/JENA-154
>             Project: Jena
>          Issue Type: Bug
>          Components: ARQ, TDB
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>         Attachments: ReportJena154_GraphVarScope.java
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message