[
https://issues.apache.org/jira/browse/FLINK-35303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17844224#comment-17844224
]
LvYanquan commented on FLINK-35303:
-----------------------------------
Currently, we can add a metadata column from row_kind
[https://nightlies.apache.org/flink/flink-cdc-docs-release-3.0/docs/connectors/legacy-flink-cdc-sources/mysql-cdc/#available-metadata]
to represent that.
However, for a delete event, we will still delete this record in the
downstream, we need to change the RowKind of those events to Insert to achieve
the demand.
> Support logical deletion of data
> ---------------------------------
>
> Key: FLINK-35303
> URL: https://issues.apache.org/jira/browse/FLINK-35303
> Project: Flink
> Issue Type: New Feature
> Components: Flink CDC
> Reporter: melin
> Priority: Major
>
> delete event is logical deletion. Add a field to the table. For example:
> is_delete, the default is false, if it is a delete event, is_delete is set to
> true。
--
This message was sent by Atlassian Jira
(v8.20.10#820010)