[ https://issues.apache.org/jira/browse/JENA-294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne updated JENA-294: ------------------------------- Component/s: Optimizer > TransformFilterEquality does not handle starting OPTIONAL well > -------------------------------------------------------------- > > Key: JENA-294 > URL: https://issues.apache.org/jira/browse/JENA-294 > Project: Apache Jena > Issue Type: Improvement > Components: ARQ, Optimizer > Affects Versions: Jena 2.7.4 > Reporter: Simon Helsen > Attachments: filter-equality-13.rq, filter-equality-13.srj, > jena-294-afs-1.patch, manifestPatchForOptFilterEquality.txt, patch.txt, > patch.txt, test-filter-equality.zip > > > There was one other case where our tests were stuck on a very slow query > execution because transformFilterEquality failed to optimize. The problem is > that the optimizer gives up whenever the WHERE clause starts with an OPTIONAL > clause. The reason is that the generated algebraic formula starts with a > TableUnit and this is not handled correctly. > I have attached a patch which fixes the problem -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira