[ https://issues.apache.org/jira/browse/DRILL-6059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pritesh Maker updated DRILL-6059: --------------------------------- Fix Version/s: (was: 1.13.0) 1.14.0 > 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.14.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 (v7.6.3#76005)