Graham Triggs created JENA-1831:
-----------------------------------
Summary: Algebra transform to optimize queries fails with a
certain type of Union
Key: JENA-1831
URL: https://issues.apache.org/jira/browse/JENA-1831
Project: Apache Jena
Issue Type: Bug
Components: SDB
Affects Versions: Jena 3.14.0, Jena 3.13.0, Jena 3.12.0, Jena 3.11.0
Reporter: Graham Triggs
Encountered a case using a UNION in a query to select e.g. objects where type
is asserted as X, Y or Z (but not A, B, C, etc.)
Pull request prevents the transformer from copying restrictions out of a UNION
so that the algebra is correct in this case.
Includes a test for a query that exhibits the problem. All previously existing
transformer tests are unmodified and continue to pass, as do all the other unit
tests in SDB.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)