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 a668bb5 commit 9325a7cCopy full SHA for 9325a7c
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveSessionCatalog.scala
@@ -150,7 +150,7 @@ private[sql] class HiveSessionCatalog(
150
case ArchiveResource =>
151
ResourceType.ARCHIVE
152
}
153
- if (System.getProperties("spark.testing") != "true") {
+ if (System.getProperties.get("spark.testing") != "true") {
154
val sessionState = SessionState.get()
155
val localPath = sessionState.add_resource(resourceType, resource.uri)
156
ShutdownHookManager.registerShutdownDeleteDir(new File(localPath).getParentFile)
0 commit comments