Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Calcite cannot find table alias when resolving the ORDER BY clause of a WITH query. Example:
with e as (select * from emp) select * from e as e1 order by e1.empno
throws
Table 'E1' not found
Attachments
Issue Links
- is related to
-
CALCITE-309 WITH ... ORDER BY query gives AssertionError
- Closed