[ 
https://issues.apache.org/jira/browse/JENA-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Graham Triggs updated JENA-1831:
--------------------------------
    Description: 
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.

[https://github.com/apache/jena/pull/681]

  was:
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.


> 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.11.0, Jena 3.12.0, Jena 3.13.0, Jena 3.14.0
>            Reporter: Graham Triggs
>            Priority: Major
>
> 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.
> [https://github.com/apache/jena/pull/681]



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

Reply via email to