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/10/21 15:57:00 UTC
[jira] [Updated] (HUDI-1349) spark sql support overwrite use
replace action
[ https://issues.apache.org/jira/browse/HUDI-1349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
liwei updated HUDI-1349:
------------------------
Status: In Progress (was: Open)
> spark sql support overwrite use replace action
> -----------------------------------------------
>
> 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
>
> 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)