You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Jinfeng Ni (JIRA)" <ji...@apache.org> on 2015/06/12 02:21:00 UTC

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

Jinfeng Ni created CALCITE-757:
----------------------------------

             Summary: 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


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)