[ 
https://issues.apache.org/jira/browse/SPARK-31891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun resolved SPARK-31891.
-----------------------------------
    Fix Version/s: 3.2.0
       Resolution: Fixed

Issue resolved by pull request 31499
[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
>            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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to