dyp12 commented on issue #9773:
URL: https://github.com/apache/seatunnel/issues/9773#issuecomment-3226654203

   > we need merge two event into one message with `"op": "u"`. 
[@dyp12](https://github.com/dyp12)
   > 
   > ```
   > {
   >   "before": {
   >     "id": 111,
   >     "name": "scooter",
   >     "description": "Big 2-wheel scooter",
   >     "weight": 5.18
   >   },
   >   "after": {
   >     "id": 111,
   >     "name": "scooter",
   >     "description": "Big 2-wheel scooter",
   >     "weight": 5.15
   >   },
   >   "source": {...},
   >   "op": "u",
   >   "ts_ms": 1589362330904,
   >   "transaction": null
   > };
   > ```
   
   in our production environment,UPDATE_AFTER and UPDATE_BEFORE event can 
resolve pk change.
   when source is mysql and doris is sink,  mysql can change pk value, but 
doris can not , use delete  and insert event can resolve  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