]
Steven Hawkins resolved TEIID-3144.
-----------------------------------
Resolution: Done
Updated to properly resolve and added a validation rather than implementing at this time
as there is a workaround.
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).