You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Volodymyr Vysotskyi (JIRA)" <ji...@apache.org> on 2017/12/13 17:00:07 UTC

[jira] [Created] (CALCITE-2087) Add new method to ViewExpander interface to allow passing SchemaPlus

Volodymyr Vysotskyi created CALCITE-2087:
--------------------------------------------

             Summary: Add new method to ViewExpander interface to allow passing SchemaPlus
                 Key: CALCITE-2087
                 URL: https://issues.apache.org/jira/browse/CALCITE-2087
             Project: Calcite
          Issue Type: Bug
            Reporter: Volodymyr Vysotskyi
            Assignee: Julian Hyde


Currently, {{ViewExpander}} interface contains single method {{expandView(RelDataType rowType, String queryString, List<String> schemaPath, List<String> viewPath)}} which allows creating a {{RelNode}} instance that corresponds to the desired view.

Drill supports impersonation for views and it is implemented in such a way, that its configs such as username, etc are stored in {{SchemaPlus}} instance. So currently it is not possible to pass these configs into this method to create {{CatalogReader}} and allow impersonation work.





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)