You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Ranga Reddy (Jira)" <ji...@apache.org> on 2025/03/04 16:28:00 UTC

[jira] [Closed] (HUDI-9079) Log the exception message properly to handle the "default" partition value migration steps.

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

Ranga Reddy closed HUDI-9079.
-----------------------------
    Fix Version/s: 1.0.2
       Resolution: Fixed

PR merged to master branch.

> Log the exception message properly to handle the "default" partition value migration steps.
> -------------------------------------------------------------------------------------------
>
>                 Key: HUDI-9079
>                 URL: https://issues.apache.org/jira/browse/HUDI-9079
>             Project: Apache Hudi
>          Issue Type: Bug
>    Affects Versions: 0.12.0, 0.13.0, 0.14.0, 0.15.0, 1.0.0
>            Reporter: Ranga Reddy
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.0.2
>
>
> In the step for deleting the default partition, we need to specify the format as Hudi during the Spark writing process; otherwise, it will be treated as a normal Parquet file.
>  
> {code:java}
> df.write.option(\"hoodie.datasource.write.operation\",\"delete\").options(writeOptions).mode(Append).save(HUDI_TABLE_PATH);{code}
> https://github.com/apache/hudi/blob/master/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/upgrade/FourToFiveUpgradeHandler.java#L59
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)