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)

Reply via email to