[teiid-issues] [JBoss JIRA] (TEIID-4015) Error or incorrect value when there is a conflict between local and correlated names

Steven Hawkins (JIRA) issues at jboss.org
Wed Dec 6 10:33:15 EST 2017


     [ https://issues.jboss.org/browse/TEIID-4015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins closed TEIID-4015.
---------------------------------


> Error or incorrect value when there is a conflict between local and correlated names
> ------------------------------------------------------------------------------------
>
>                 Key: TEIID-4015
>                 URL: https://issues.jboss.org/browse/TEIID-4015
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>            Priority: Critical
>             Fix For: 9.0, 8.12.5, 8.13.2, 8.7.5.6_2
>
>
> With a query such as:
> select e1, (select e1 from (select t1.e1 from pm1.g1 as t1) as t2 where t2.e1 = t1.e1) from pm2.g1 as t1
> The correlated reference to t1.e1 will get evaulated as if it were a local value from pm1.g1 as t1  instead.  This is because the evaluator doesn't immediately look for the context value, but rather calls to internalEvaluate.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the teiid-issues mailing list