You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (Jira)" <ji...@apache.org> on 2020/01/12 17:39:00 UTC

[jira] [Created] (JENA-1815) Join strategy/VarFinder: deal with assigned variables (AS) differently to pattern defined variables.

Andy Seaborne created JENA-1815:
-----------------------------------

             Summary: Join strategy/VarFinder: deal with assigned variables (AS) differently to pattern defined variables.
                 Key: JENA-1815
                 URL: https://issues.apache.org/jira/browse/JENA-1815
             Project: Apache Jena
          Issue Type: Improvement
    Affects Versions: Jena 3.13.1, Jena 3.14.0
            Reporter: Andy Seaborne
            Assignee: Andy Seaborne


The {{VarFinder}} treats assigned variables ({{AS ?var}}) in the same way as variables set by pattern. In the sense that these two forms both set variables, this is correct but "AS variables" can not be substituted for. At the moment join classification says that a join is not "linear" (i.e. {{sequence}} can be used) when assignment is encountered.

By classifying variables into substituable and non-substitutable, it should be possible to do a better job of optimization choices of the join strategy.

This is motivated by JENA-1813.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)