yaooqinn commented on code in PR #40824:
URL: https://github.com/apache/spark/pull/40824#discussion_r1170876887


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/ShowTablesExec.scala:
##########
@@ -49,7 +49,7 @@ case class ShowTablesExec(
 
   private def isTempView(ident: Identifier): Boolean = {
     catalog match {
-      case s: V2SessionCatalog => s.isTempView(ident)
+      case s: V2SessionCatalog => s.isTempView(ident) || s.isTempTable(ident)

Review Comment:
   As you said that they are different, why both of them are temp views



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to