[ https://issues.apache.org/jira/browse/JENA-1815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17087075#comment-17087075 ]
Andy Seaborne commented on JENA-1815: ------------------------------------- Some related tickets: JENA-1121 JENA-1257 JENA-1018 JENA-1028 JENA-1187 > 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 > Priority: Major > > 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)