Kunal Khatua commented on DRILL-6059:

This is most likely addressed by DRILL-5089.

> 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

Reply via email to