vinothchandar commented on issue #1021: how can i deal this problem when 
partition's value changed with the same row_key? 
URL: https://github.com/apache/incubator-hudi/issues/1021#issuecomment-563052991
 
 
   > Partition2 should be ignored and updates should be sent to Partition1 
right?
   yes. and lets please move this to a JIRA asap. 
   
   I guess, you can create a new object with a differnt partition path using 
the constructor? 
   
   `new HoodieRecord (new HoodieKey(baseRecord.getRecordKey(), 
newPartitionPath), baseRecord.getData());`  should do. (there is a method on 
HoodieRecord itself to get the record key. Why do you need the type of the 
data? Just passing in a `HoodieRecordPayload` should be sufficient?
   
   

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


With regards,
Apache Git Services

Reply via email to