[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
Thu Mar 3 13:09:00 EST 2016


Steven Hawkins created TEIID-4015:
-------------------------------------

             Summary: 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
             Fix For: 9.0, 8.12.5, 8.13.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
(v6.4.11#64026)


More information about the teiid-issues mailing list