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/23 23:43:54 UTC
[jira] [Resolved] (CALCITE-633) WITH ... ORDER BY cannot find table
[ https://issues.apache.org/jira/browse/CALCITE-633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Hyde resolved CALCITE-633.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.2.0-incubating
Fixed in http://git-wip-us.apache.org/repos/asf/incubator-calcite/commit/3807827b.
> 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
> Fix For: 1.2.0-incubating
>
>
> 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)