cgivre opened a new pull request #2475: URL: https://github.com/apache/drill/pull/2475
# [DRILL-8121](https://issues.apache.org/jira/browse/DRILL-8121): Add UserSession to StoragePlugins ## Description One of the major limitations of Drill is that per-user credentials are not supported in non-Hadoop, or file system storage plugins. In conducting experiments, one of the major challenges preventing this was that there was no reliable way for a storage plugin to obtain the username of the user who submitted the query. This PR represents the first step in making this possible by passing the UserSession object down to the storage plugin instance. Thus for each query, the storage plugin can obtain the active user id. This does not affect any current Drill behavior, but will make it possible to implement per-user credentials for plugins such as JDBC, Splunk, ElasticSearch and others that do not have the concept of user impersonation. ## Documentation No user facing changes ## Testing Added unit tests. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
