Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
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.