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 6b7bf59 commit 8ab51eaCopy full SHA for 8ab51ea
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala
@@ -278,9 +278,7 @@ class SessionCatalog(
278
* explicitly specified.
279
*/
280
def isTemporaryTable(name: TableIdentifier): Boolean = {
281
- val db = name.database.getOrElse(currentDb)
282
- val table = formatTableName(name.table)
283
- !name.database.isDefined && tempTables.contains(table)
+ !name.database.isDefined && tempTables.contains(formatTableName(name.table))
284
}
285
286
/**
0 commit comments