Skip to content

Commit 650ead2

Browse files
committed
Fix one more.
1 parent e267713 commit 650ead2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ class SessionCatalog(
254254
val db = formatDatabaseName(name.database.getOrElse(getCurrentDatabase))
255255
val table = formatTableName(name.table)
256256
val tid = TableIdentifier(table)
257-
if (name.database.isEmpty && isTemporaryTable(tid)) {
257+
if (isTemporaryTable(name)) {
258258
CatalogTable(
259259
identifier = tid,
260260
tableType = CatalogTableType.VIEW,

0 commit comments

Comments
 (0)