Daishuyuan commented on PR #4341: URL: https://github.com/apache/flink-cdc/pull/4341#issuecomment-4775398766
@melin Thanks for pointing this out. You are right: when an UPDATE changes the composite primary key, treating it as an after-only upsert may leave the old row behind. I’ve updated the DWS sink to emit DELETE(before) followed by UPSERT(after) in this case, and added an integration test to cover 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]
