[teiid-issues] [JBoss JIRA] Updated: (TEIID-1374) Nested correlated reference issue with rewritten queries
Steven Hawkins (JIRA)
jira-events at lists.jboss.org
Tue Dec 14 16:09:52 EST 2010
[ https://issues.jboss.org/browse/TEIID-1374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Hawkins updated TEIID-1374:
----------------------------------
Attachment: TestCorrelatedReferenceCollectorVisitor.java
> Nested correlated reference issue with rewritten queries
> --------------------------------------------------------
>
> Key: TEIID-1374
> URL: https://issues.jboss.org/browse/TEIID-1374
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 7.0
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Attachments: TestCorrelatedReferenceCollectorVisitor.java
>
>
> In a query such as "select * from bqt1.smalla where exists (select intnum from bqt1.smalla x where smalla.intnum = x.intnum and exists (select intnum from bqt1.smalla where exists (select intnum from bqt1.smalla x where smalla.intnum = x.intnum)))" we will inappropriately report that the top exists subquery has 2 correlated references since we see the more deeply nested smalla.intnum also.
> This is generally not a issue, it can introduce errors in places where subqueries are rewritten, such as with subquery optimization or inherently updatable view queries.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the teiid-issues
mailing list