watermelon12138 commented on issue #9987:
URL: https://github.com/apache/hudi/issues/9987#issuecomment-1804072767

   @danny0405 @Hans-Raintree 
   if we write following data with cdc enable:
           Row("1", "I", "2023-06-14 15:46:06.953746", "A", "A"),
           Row("1", "U", "2023-06-14 15:46:06.953746", "A", "A"),
           Row("2", "U", "2023-06-14 15:46:06.953746", "A", "A")
   we will get following result with cdc incre read enalbe:
            op | ts_ms | before | after        
             i       xxxx     null       {"1", "U", "2023-06-14 
15:46:06.953746", "A", "A"}       
             i       xxxx     null       {"2", "U", "2023-06-14 
15:46:06.953746", "A", "A"}        
   So, if we write following data:
           Row("1", "I", "2023-06-14 15:46:06.953746", "A", "A"),
           Row("1", "D", "2023-06-14 15:46:06.953746", "A", "A"),
           Row("2", "U", "2023-06-14 15:46:06.953746", "A", "A")     
   Then the final result we get will be like this:
            op | ts_ms | before | after          
             i       xxxx     null       {"2", "U", "2023-06-14 
15:46:06.953746", "A", "A"}    
   Are there any flaws in my results? If my results are correct, I can try to 
fix it.
                                                                                
                                                                                
                                                                                
                                                   
   


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