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 e267713 commit 650ead2Copy full SHA for 650ead2
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala
@@ -254,7 +254,7 @@ class SessionCatalog(
254
val db = formatDatabaseName(name.database.getOrElse(getCurrentDatabase))
255
val table = formatTableName(name.table)
256
val tid = TableIdentifier(table)
257
- if (name.database.isEmpty && isTemporaryTable(tid)) {
+ if (isTemporaryTable(name)) {
258
CatalogTable(
259
identifier = tid,
260
tableType = CatalogTableType.VIEW,
0 commit comments