You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/10/21 20:43:25 UTC

[GitHub] [spark] rdblue commented on a change in pull request #26183: [SPARK-29513][SQL] REFRESH TABLE should look up catalog/table like v2 commands

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org