You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/02/06 20:36:00 UTC
[jira] [Commented] (SPARK-31891) `ALTER TABLE multipartIdentifier
RECOVER PARTITIONS` should drop partition if partition specific location is
not exist any more
[ https://issues.apache.org/jira/browse/SPARK-31891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17280283#comment-17280283 ]
Apache Spark commented on SPARK-31891:
--------------------------------------
User 'MaxGekk' has created a pull request for this issue:
https://github.com/apache/spark/pull/31499
> `ALTER TABLE multipartIdentifier RECOVER PARTITIONS` should drop partition if partition specific location is not exist any more
> -------------------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-31891
> URL: https://issues.apache.org/jira/browse/SPARK-31891
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.1.0
> Reporter: Zhu, Lipeng
> Priority: Major
>
> Currently when execute
> {code:sql}
> ALTER TABLE multipartIdentifier RECOVER PARTITIONS
> {code}
> It will auto add the partition according to the table root location structure.
> And Spark need to add one more step to check if the existing partition specific location exists and then delete the partition?
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org