Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
Workaround Exists
-
Description
A query such as the one below will fail with a low level exception:
select * from foo order by (select count(*) from x where x.fid = foo.id)
We should either validate against or update the logic (probably adding an inline view in the rewriter).