the-other-tim-brown commented on issue #8519:
URL: https://github.com/apache/hudi/issues/8519#issuecomment-1526004722

   @sydneyhoran I'm still trying to come up to speed on the errors you are 
seeing but I can chime in on the behavior for the PostgresDebeziumSource and 
the payload. The 
[source](https://github.com/apache/hudi/blob/master/hudi-utilities/src/main/java/org/apache/hudi/utilities/sources/debezium/PostgresDebeziumSource.java#L79)
 is going to be doing something similar to `before.*` or `after.*` along with 
pulling out some metadata from the debezium record. The payload will be marking 
the row for deletion if the `op` is `d`. In order to properly delete the 
record, the `before` field needs to be set for deletions so you can extract the 
proper `id`, `inserted_at`, and `updated_at` values so Hudi knows which record 
to delete, which partition it is in, and whether it is the latest update for 
that record.


-- 
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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to