pvary commented on PR #15337: URL: https://github.com/apache/iceberg/pull/15337#issuecomment-3911030888
If there are multiple updates for the same key then the CDC stream should contain multiple DELETE + INSERT pairs. It should create a single equality delete, and every consecutive delete should be converted to a position delete instead which removes the newly inserted row of the previous update. The decision happens here: https://github.com/apache/iceberg/blob/ebaafdeb35ed892e95f1d9b4666a18d393c95876/core/src/main/java/org/apache/iceberg/io/BaseTaskWriter.java#L234-L241 -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
