rdblue commented on a change in pull request #26183: [SPARK-29513][SQL] REFRESH 
TABLE should look up catalog/table like v2 commands
URL: https://github.com/apache/spark/pull/26183#discussion_r337229796
 
 

 ##########
 File path: 
sql/core/src/main/scala/org/apache/spark/sql/catalyst/analysis/ResolveSessionCatalog.scala
 ##########
 @@ -282,6 +282,10 @@ class ResolveSessionCatalog(
       AlterTableRecoverPartitionsCommand(
         v1TableName.asTableIdentifier,
         "MSCK REPAIR TABLE")
+
+    case RefreshTableStatement(tableName) =>
+      val v1TableName = parseV1Table(tableName, "REFRESH TABLE")
 
 Review comment:
   Not followed by `loadTable`. It should invalidate and load the table lazily.

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


With regards,
Apache Git Services

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

Reply via email to