shivabansal1046 commented on issue #2656: URL: https://github.com/apache/hudi/issues/2656#issuecomment-799469658
Hi, Below are the configs I am using .write .format("org.apache.hudi"). options(getQuickstartWriteConfigs). option(TABLE_TYPE_OPT_KEY, "MERGE_ON_READ"). option(OPERATION_OPT_KEY, "INSERT"). option(PRECOMBINE_FIELD_OPT_KEY, "last_update_time"). option(RECORDKEY_FIELD_OPT_KEY, "id"). option(PARTITIONPATH_FIELD_OPT_KEY, "creation_date"). option(TABLE_NAME, "my_hudi_table") .mode(SaveMode.Append) .save(args(1)) And to your other question, I already have record in HUDI, and during another run its overwriting the record with record having same key. With insert option I am expecting it should simply insert new record without checking if record with same key is present or not. ---------------------------------------------------------------- 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: us...@infra.apache.org