drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "weijie.tong (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-6059) Apply needed StoragePlugins's RuleSet to the planner
Date Sat, 23 Dec 2017 05:18:00 GMT
weijie.tong created DRILL-6059:
----------------------------------

             Summary: Apply needed StoragePlugins's RuleSet to the planner
                 Key: DRILL-6059
                 URL: https://issues.apache.org/jira/browse/DRILL-6059
             Project: Apache Drill
          Issue Type: Improvement
            Reporter: weijie.tong
            Assignee: weijie.tong
            Priority: Minor
             Fix For: 1.13.0


Now once we configure Drill with more than one StoragePlugins, it will apply all the plugins's
rules to user's queries even the queries not contain corresponding storage plugin. The reason
is the method below of QueryContext
{code:java}
  public StoragePluginRegistry getStorage() {
    return drillbitContext.getStorage();
  }
{code}
 
>From QueryContext's name , the method  should return the query involved storage plugin
registry not all the configured storage plugins. 

So we need to identify the involved storage plugin at the parse stage, and set the collected
involved storage plugins to the QueryContext. This will also benefit the work to do a schema
level security control. Maybe a new method with the name getInvolvedStorage will be more accurate.





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

Mime
View raw message