You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Vinoth Chandar (Jira)" <ji...@apache.org> on 2021/01/21 06:00:00 UTC
[jira] [Updated] (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 ]
Vinoth Chandar updated HUDI-1349:
---------------------------------
Fix Version/s: 0.7.0
> 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
> Fix For: 0.7.0
>
>
> 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)