FeiZou commented on issue #3418:
URL: https://github.com/apache/hudi/issues/3418#issuecomment-894588775


   Hey @nsivabalan, the `bulk_insert` job has been finished successfully, the 
efficiency is really amazing. However there are still duplicates as I checked, 
even though I enabled `hoodie.combine.before.insert`. 
   Full config details I used as below:
   ```
   val hudiOptions = Map[String,String](
               HoodieWriteConfig.TABLE_NAME -> "recordings_hudi",
               HoodieWriteConfig.COMBINE_BEFORE_INSERT_PROP -> "true",
               DataSourceWriteOptions.ENABLE_ROW_WRITER_OPT_KEY -> "true",
               DataSourceWriteOptions.OPERATION_OPT_KEY -> 
DataSourceWriteOptions.BULK_INSERT_OPERATION_OPT_VAL,
               DataSourceWriteOptions.KEYGENERATOR_CLASS_OPT_KEY -> 
"org.apache.hudi.keygen.NonpartitionedKeyGenerator",
               DataSourceWriteOptions.TABLE_TYPE_OPT_KEY -> "COPY_ON_WRITE",
               DataSourceWriteOptions.RECORDKEY_FIELD_OPT_KEY -> "sid",
               DataSourceWriteOptions.PRECOMBINE_FIELD_OPT_KEY -> 
"date_updated")
    ```
    There are duplicates with same `sid` and different `data_update` field.  
Any insight on it?
    


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to