[
https://issues.apache.org/jira/browse/SPARK-31891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17289744#comment-17289744
]
Apache Spark commented on SPARK-31891:
--------------------------------------
User 'MaxGekk' has created a pull request for this issue:
https://github.com/apache/spark/pull/31633
> `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
> Assignee: Maxim Gekk
> Priority: Major
> Fix For: 3.2.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]