Skip to content

Commit 9325a7c

Browse files
committed
fix compile error
1 parent a668bb5 commit 9325a7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveSessionCatalog.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ private[sql] class HiveSessionCatalog(
150150
case ArchiveResource =>
151151
ResourceType.ARCHIVE
152152
}
153-
if (System.getProperties("spark.testing") != "true") {
153+
if (System.getProperties.get("spark.testing") != "true") {
154154
val sessionState = SessionState.get()
155155
val localPath = sessionState.add_resource(resourceType, resource.uri)
156156
ShutdownHookManager.registerShutdownDeleteDir(new File(localPath).getParentFile)

0 commit comments

Comments
 (0)