kingwind94 commented on issue #5043:
URL: https://github.com/apache/iceberg/issues/5043#issuecomment-1413315464

   I fixed it! You must have -D (delete rowkind) rowdata in your cdc 
datastream. Check your BaseDeltaTaskWriter, fix your write(RowData row)  method 
as below
   `
         case DELETE:
           if (upsert) {
             writer.deleteKey(keyProjection.wrap(row));
           } else {
             writer.delete(row);
           }
           break;
   `


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

Reply via email to