cloud-fan commented on a change in pull request #30918:
URL: https://github.com/apache/spark/pull/30918#discussion_r548830737



##########
File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala
##########
@@ -705,7 +705,7 @@ class SessionCatalog(
             schema = plan.output.toStructType)
       }.getOrElse(throw new 
NoSuchTableException(globalTempViewManager.database, table))
     } else {
-      getTableMetadata(name)
+      getTableRawMetadata(name)

Review comment:
       It's a bit weird that `getTempViewOrPermanentTableMetadata` and 
`getTableMetadata` is not consistent. How many caller sides we need to update 
in this case?




----------------------------------------------------------------
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.

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