cgivre commented on a change in pull request #2445:
URL: https://github.com/apache/drill/pull/2445#discussion_r799623832
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/store/StoragePlugin.java
##########
@@ -62,6 +63,14 @@
*/
StoragePluginConfig getConfig();
+ /**
+ * Sets the user session.
+ * @param session The user session for the query.
+ */
+ void setUserSession(UserSession session);
Review comment:
> `storages.getPlugin(schemaName, getSession());` might not create a
plugin, but obtain it from the cache, so we have a single instance of the same
plugin that will be attempted to hold different user sessions.
Do you think the right approach here would be to update the `UserSession`
here? If so, we'd still need the setter.
--
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]