We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 569ab8a commit edaf402Copy full SHA for edaf402
sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala
@@ -311,6 +311,7 @@ private[hive] class HiveClientImpl(
311
val ret = try f finally {
312
state.getConf.setClassLoader(originalConfLoader)
313
Thread.currentThread().setContextClassLoader(original)
314
+ SessionState.detachSession()
315
HiveCatalogMetrics.incrementHiveClientCalls(1)
316
}
317
ret
0 commit comments