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:56:00 UTC

[jira] [Created] (HUDI-1349) spark sql support overwrite use replace action

liwei created HUDI-1349:
---------------------------

             Summary: 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


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)