You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/12/22 16:49:45 UTC

[GitHub] [hudi] sunilknataraj commented on issue #4311: Duplicate Records in Merge on Read [SUPPORT]

sunilknataraj commented on issue #4311:
URL: https://github.com/apache/hudi/issues/4311#issuecomment-999721245


   Yes, we are using upsert operation only. Code snippet is given below. hudiOptions is mentioned in the original issue description.
   `        dataframe.write.format("org.apache.hudi")
             .option("hoodie.insert.shuffle.parallelism", hudiParallelism)
             .option("hoodie.upsert.shuffle.parallelism", hudiParallelism)
             .option("hoodie.metadata.enable", value = true)
             .option(DataSourceWriteOptions.OPERATION_OPT_KEY, DataSourceWriteOptions.UPSERT_OPERATION_OPT_VAL)
             .options(hudiOptions).mode(SaveMode.Append)
             .save(s3Location)`


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org