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/06/13 03:14:00 UTC

[jira] [Resolved] (CALCITE-757) View of view is not expanded properly in PlannerImpl.

     [ https://issues.apache.org/jira/browse/CALCITE-757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Hyde resolved CALCITE-757.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0-incubating

Fixed in http://git-wip-us.apache.org/repos/asf/incubator-calcite/commit/468a161b.

Venky & [~jni], thanks for the patch!

> View of view is not expanded properly in PlannerImpl.
> -----------------------------------------------------
>
>                 Key: CALCITE-757
>                 URL: https://issues.apache.org/jira/browse/CALCITE-757
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Jinfeng Ni
>            Assignee: Julian Hyde
>             Fix For: 1.4.0-incubating
>
>
> In PlannerImpl:ViewExpanderImpl,  the code does not pass in ViewExpalnderImpl. That cause a view of another view will not be expanded properly.
> Also, ViewExpanderImpl's SqlToRelConverter does not have the same setting, or does not go throw the same transformation (flattenTypes, decorrelateQuery) step as the regular one in convert() method.  That means some transformation might be missing to be applied to RelNode generated from a view.
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)