Steven Hawkins created TEIID-3144:
-------------------------------------
Summary: 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.1#6329)