rzo1 commented on PR #189:
URL: https://github.com/apache/openjpa/pull/189#issuecomment-5679960455

   Thanks, good catch. The exclusive-property case only passed because `genre` 
is null on the other rows; the common-property one returned `[Software, Game]`. 
A TREAT path in WHERE didn't restrict the type at all. A predicate over 
`TREAT(x AS Type)` is now false when `x` isn't a `Type` or one of its 
subclasses (spec 4.4.9). The restriction is applied to that predicate only, so 
other OR branches still match. I added both of your tests, plus one for an OR 
condition and one for TREAT on a join variable.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to