[ 
https://issues.apache.org/jira/browse/FLINK-39289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yanquan Lv resolved FLINK-39289.
--------------------------------
    Fix Version/s: cdc-3.6.0
         Assignee: zexin gong
       Resolution: Fixed

Merged in master via 08f3fb88f77d1aabc4c7f991c06b2fe3565028fa.

> The truncate command cannot be executed on the paimon table where 
> deletion-vectors.enabled:true is set
> ------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-39289
>                 URL: https://issues.apache.org/jira/browse/FLINK-39289
>             Project: Flink
>          Issue Type: Bug
>          Components: Flink CDC
>         Environment: flink: 1.20.3
> flink-cdc: 3.5.0
> paimon: 1.3.1
>            Reporter: zexin gong
>            Assignee: zexin gong
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: cdc-3.6.0
>
>
> When using the Flink-CDC pipeline to build a MySQL to Paimon synchronization 
> task, an error occurs when MySQL executes `truncate table xxx`:
> ```
> Caused by: 
> UnsupportedSchemaChangeEventException\{applyingEvent=TruncateTableEvent{tableId=xxx},
>  exceptionMessage='Unable to truncate a table with de
> letion vectors enabled.', cause='null'}
>         at 
> org.apache.flink.cdc.connectors.paimon.sink.PaimonMetadataApplier.applyTruncateTable(PaimonMetadataApplier.java:348)
>         ... 11 more
> ```
> No exception is observed when executing `truncate table paimon_table` using 
> Flink-SQL.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to