hemanth-gowda-12 opened a new issue, #7247:
URL: https://github.com/apache/hudi/issues/7247

   Upserts don't work on the Java client for both MOR and COW if partition path 
in
   `new HoodieKey(rKey, partitionPath)`
    starts with a "/".
   
   
   Steps to reproduce the behavior:
   
   1. Run this test to see that there are duplicates on upserts for records 
with same key.
   test 
https://github.com/hemanth-gowda-12/hudiTest/blob/bf98a9efcfbf8a29543b970edcbfd687bde0662a/upsert/src/test/java/HudiSinkTest.java#L32
   2. Remove the leading "/", delete the table dir and run test again to see 
normal upsert behavior - no duplicates for records with same key.
   
   
   
   Hudi version : 0.12.0
   
   Running on Docker? : No
   
   @shivNarayan and @Raymond Xu are familiar with the problem.


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