lipusheng opened a new issue, #9091:
URL: https://github.com/apache/hudi/issues/9091

   **_Tips before filing an issue_**
   
   - Have you gone through our [FAQs](https://hudi.apache.org/learn/faq/)?
   
   - Join the mailing list to engage in conversations and get faster support at 
dev-subscr...@hudi.apache.org.
   
   - If you have triaged this as a bug, then file an 
[issue](https://issues.apache.org/jira/projects/HUDI/issues) directly.
   
   **Describe the problem you faced**
   When I use the Spark synchronous Hive table data to Hudi table I specify 
"KeyGeneratorOptions. RECORDKEY_FIELD_NAME" for "id, user_id," Use the 
"KEYGENERATOR_CLAS" to "NonpartitionedKeyGenerator" and specify the "hoodie. 
The datasource. Write. Operatio" for "WriteOperationType.BULK_INSERT" In this 
case, the _hoodie_record_key for writing data is "125230088,6941". When I 
access Kafka data, I just changed the "hoodie. The datasource. Write. Operatio" 
for "WriteOperationType. UPSERT", but "_hoodie_record_key format has changed," 
The system changes to user_id:125230088,id:6941, and data duplication occurs 
during the query
   
![image](https://github.com/apache/hudi/assets/57984409/f45c37a8-b38c-4457-9677-2fcbe3bac178)
   
   **To Reproduce**
   
   Steps to reproduce the behavior:
   
   1.
   2.
   3.
   4.
   
   **Expected behavior**
   
   A clear and concise description of what you expected to happen.
   
   **Environment Description**
   
   * Hudi version : 0.12.0
   
   * Spark version : 3.3.1
   
   * Hive version : 3.1.3
   
   * Hadoop version : 3.2.1
   
   * Storage (HDFS/S3/GCS..) : OSS
   
   * Running on Docker? (yes/no) : no
   
   
   **Additional context**
   
   Add any other context about the problem here.
   
   **Stacktrace**
   
   ```Add the stacktrace of the error.```
   
   


-- 
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-unsubscr...@hudi.apache.org.apache.org

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

Reply via email to