Julian Hyde created CALCITE-633:
-----------------------------------
Summary: WITH ... ORDER BY cannot find table
Key: CALCITE-633
URL: https://issues.apache.org/jira/browse/CALCITE-633
Project: Calcite
Issue Type: Bug
Reporter: Julian Hyde
Assignee: Julian Hyde
Calcite cannot find table alias when resolving the ORDER BY clause of a WITH
query. Example:
{code}with e as (select * from emp)
select * from e as e1 order by e1.empno{code}
throws {code}Table 'E1' not found{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)