pvary commented on a change in pull request #2261:
URL: https://github.com/apache/hive/pull/2261#discussion_r638615019
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/Driver.java
##########
@@ -213,7 +216,14 @@ private void runInternal(String command, boolean
alreadyCompiled) throws Command
releaseResources();
}
+ if (SessionState.get() != null) {
+ // Clean up every resource object stored in the query state
+ driverContext.getQueryState().removeResources();
Review comment:
Do we need this one?
We remove the `QueryState` anyway...
And then we do not need `removeResources` either
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]