[ 
https://issues.apache.org/jira/browse/DERBY-3349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563229#action_12563229
 ] 

Thomas Nielsen commented on DERBY-3349:
---------------------------------------

DERBY-3301 adds a test with two variations over the repro script, but there are 
other combinations that needs testing:

Army> I think a minimal list of combinations to check should be:
Army >  * WHERE EXISTS ... WHERE EXISTS (done with test-1.diff -- thanks!)
Army >  * WHERE EXISTS ... WHERE IN (done with test-2.diff -- thanks!)
Army >  * WHERE EXISTS .. WHERE ANY
Army >  * WHERE IN ... WHERE IN (I posted an example in my previous post, but 
it's not included in the tests)
Army >  * WHERE ANY ... WHERE ANY 

> Nested WHERE EXISTS queries need improved testing
> -------------------------------------------------
>
>                 Key: DERBY-3349
>                 URL: https://issues.apache.org/jira/browse/DERBY-3349
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>            Reporter: Thomas Nielsen
>
> DERBY-3301 reported an error in subquery flattening of nested WHERE EXISTS 
> clauses, or WHERE EXISTS subqueries. The query returned the wrong number of 
> rows. 
> There is currently some tests for WHERE EXISTS, but none for nested WHERE 
> EXISTS clauses.
> See DERBY-3301 for a full sql repro.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to