You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "liwei (Jira)" <ji...@apache.org> on 2020/12/09 15:25:00 UTC

[jira] [Resolved] (HUDI-1349) spark sql support overwrite use replace action with dynamic partitioning

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

liwei resolved HUDI-1349.
-------------------------
    Resolution: Fixed

> spark sql support overwrite use  replace action with dynamic partitioning
> -------------------------------------------------------------------------
>
>                 Key: HUDI-1349
>                 URL: https://issues.apache.org/jira/browse/HUDI-1349
>             Project: Apache Hudi
>          Issue Type: Sub-task
>          Components: Spark Integration
>            Reporter: liwei
>            Assignee: liwei
>            Priority: Major
>              Labels: pull-request-available
>
> now spark sql overwrite just do like this.
> } else if (mode == SaveMode.Overwrite && tableExists) {
>  log.warn(s"hoodie table at $tablePath already exists. Deleting existing data & overwriting with new data.")
>  fs.delete(tablePath, true)
>  tableExists = false
> }
> overwrite need to use replace action
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)