dyp12 commented on code in PR #9805:
URL: https://github.com/apache/seatunnel/pull/9805#discussion_r2324455851


##########
seatunnel-formats/seatunnel-format-json/src/main/java/org/apache/seatunnel/format/json/debezium/DebeziumJsonDeserializationSchema.java:
##########
@@ -158,6 +157,7 @@ private void parsePayload(Collector<SeaTunnelRow> out, 
TablePath tablePath, Json
                 if (tsNode != null) {
                     MetadataUtil.setEventTime(after, tsNode.asLong());
                 }
+                out.collect(before);

Review Comment:
   > Why moved this?
   
   if parse DATA_AFTER have  error,  out.collect(before) and out.collect(after) 
 together  can make sure before and after data send to target , not only send 
before



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