[teiid-issues] [JBoss JIRA] (TEIID-4385) Nested subquery in an aggregate fails to evaluate

RH Bugzilla Integration (JIRA) issues at jboss.org
Mon Nov 20 12:05:00 EST 2017


    [ https://issues.jboss.org/browse/TEIID-4385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491714#comment-13491714 ] 

RH Bugzilla Integration commented on TEIID-4385:
------------------------------------------------

Jan Stastny <jstastny at redhat.com> changed the Status of [bug 1492820|https://bugzilla.redhat.com/show_bug.cgi?id=1492820] from ON_QA to VERIFIED

> Nested subquery in an aggregate fails to evaluate
> -------------------------------------------------
>
>                 Key: TEIID-4385
>                 URL: https://issues.jboss.org/browse/TEIID-4385
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: 8.12
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 9.1, 9.0.3, 8.12.x-6.4, 8.12.12.6_3
>
>
> A correlated subquery that appears in an aggregate value inside of a subquery, will not have the correlated values available and fail with a TEIID30328 exception.
> For example:
> SELECT g0.a, g0.b, (SELECT max((SELECT g2.a FROM m.z AS g2 WHERE g2.b = g1.a)) FROM m.y AS g1 WHERE g0.a = g1.b) FROM m.x AS g0
> will fail on the g0.a reference.



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


More information about the teiid-issues mailing list