Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2087

Add new method to ViewExpander interface to allow passing SchemaPlus

    XMLWordPrintableJSON

Details

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            volodymyr Vova Vysotskyi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: