[teiid-issues] [JBoss JIRA] (TEIID-3144) Unrelated correlated subquery in order by not working

Steven Hawkins (JIRA) issues at jboss.org
Mon Mar 9 13:33:20 EDT 2015


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

Steven Hawkins closed TEIID-3144.
---------------------------------


> Unrelated correlated subquery in order by not working
> -----------------------------------------------------
>
>                 Key: TEIID-3144
>                 URL: https://issues.jboss.org/browse/TEIID-3144
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 8.9
>
>
> A query such as the one below will fail with a low level exception:
> {code}
> select * from foo order by (select count(*) from x where x.fid = foo.id)
> {code}
> We should either validate against or update the logic (probably adding an inline view in the rewriter).



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the teiid-issues mailing list