nsivabalan 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-563008281
 
 
   I am trying to figure out something. Let me know if its doable. 
   
   Is it possible to change the partition path alone for a given HoodieRecord? 
or to be precise, to create another HoodieRecord based on a another(base) 
HoodieRecord but w/ diff partition. 
   Specifically I am stuck at getting the type of HoodieRecord? 
   I see we could do something like this. 
   new HoodieRecord<Type> (new 
HoodieKey(baseRecord.getHoodieKey,getRecordKey(), newPartitionPath), 
baseRecord.getData());
   but not sure how to get the type from the base HoodieRecord? 
   
   If this is not doable, then not sure how we can fix this. Bcoz, the passed 
in HoodieRecord's HoodieKey has partition1 and we need to change that to 
Partition2. 
   
   

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