You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2015/03/19 23:58:38 UTC

[jira] [Created] (CALCITE-633) WITH ... ORDER BY cannot find table

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)