You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by gatorsmile <gi...@git.apache.org> on 2018/12/04 22:28:24 UTC

[GitHub] spark pull request #22721: [SPARK-19784][SPARK-25403][SQL] Refresh the table...

Github user gatorsmile commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22721#discussion_r238864486
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/command/CommandUtils.scala ---
    @@ -45,6 +45,8 @@ object CommandUtils extends Logging {
           } else {
             catalog.alterTableStats(table.identifier, None)
           }
    +    } else {
    +      catalog.refreshTable(table.identifier)
    --- End diff --
    
    Could we move this to the DDLs that we need to refresh the table?


---

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