Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
A simple statement of the form
select a.account_id, count(1) from tmp_ash_test2 a group by a.account_id order by a.account_id;
throws a sematic analysis exception
where as
select a.account_id, count(1) from tmp_ash_test2 a group by a.account_id order by account_id;
works fine (the second query does not have the table alias a in the order by clause.