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 2021/01/01 01:33:02 UTC
[GitHub] [spark] viirya commented on a change in pull request #30983: [SPARK-33950][SQL] Refresh cache in v1 `ALTER TABLE .. DROP PARTITION`
viirya commented on a change in pull request #30983:
URL: https://github.com/apache/spark/pull/30983#discussion_r550705856
##########
File path: sql/core/src/main/scala/org/apache/spark/sql/execution/command/ddl.scala
##########
@@ -581,6 +581,7 @@ case class AlterTableDropPartitionCommand(
table.identifier, normalizedSpecs, ignoreIfNotExists = ifExists, purge = purge,
retainData = retainData)
+ sparkSession.catalog.refreshTable(table.identifier.quotedString)
Review comment:
What's the difference to #30983 (corrected: #30979)?
----------------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org