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:15:00 UTC

[jira] [Updated] (CALCITE-757) Fix expansion of view of another view

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

Julian Hyde updated CALCITE-757:
--------------------------------
    Summary: Fix expansion of view of another view  (was: View of view is not expanded properly in PlannerImpl.)

> Fix expansion of view of another view
> -------------------------------------
>
>                 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)