rishabhp commented on issue #531: Add a delete() API to HoodieWriteClient as 
well as Spark datasource
URL: https://github.com/apache/incubator-hudi/issues/531#issuecomment-509353228
 
 
   Based on the current code, the correct way to hard delete is (tested in 
`COW` only):
   
   ```
   writer
   // specify record_key, partition_key and precombine_fieldkey
   .option(DataSourceWriteOptions.INSERT_DROP_DUPS_OPT_KEY, "true")
   .option(DataSourceWriteOptions.PAYLOAD_CLASS_OPT_KEY, 
"com.uber.hoodie.EmptyHoodieRecordPayload")
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to