[
https://issues.apache.org/jira/browse/DERBY-3349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Nielsen updated DERBY-3349:
----------------------------------
Attachment: d3349-2.diff
Army had added the WHERE IN ... WHERE IN variant earlier in 3301.
With the 2 patch applied we currently test these combinations:
WHERE EXISTS ... WHERE EXISTS
WHERE EXISTS ... WHERE IN
WHERE EXISTS ... WHERE EXISTS ... WHERE
WHERE EXISTS ... WHERE 1=1 AND EXISTS
WHERE IN ... WHERE IN
Still left to do:
WHERE EXISTS ... WHERE ANY
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
> Attachments: d3349-1.diff, d3349-1.stat, d3349-2.diff
>
>
> 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.