DongLiang-0 commented on code in PR #458:
URL:
https://github.com/apache/doris-flink-connector/pull/458#discussion_r1704893345
##########
flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/serializer/jsondebezium/JsonDebeziumDataChange.java:
##########
@@ -88,6 +88,9 @@ public DorisRecord serialize(String record, JsonNode
recordRoot, String op) thro
case OP_UPDATE:
return DorisRecord.of(dorisTableIdentifier,
extractUpdate(recordRoot));
case OP_DELETE:
+ if (!enableDelete) {
+ return DorisRecord.of(dorisTableIdentifier, null);
Review Comment:
Is this data lost?
--
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]