You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Timo Walther (Jira)" <ji...@apache.org> on 2025/08/06 14:38:00 UTC

[jira] [Updated] (FLINK-38201) SinkUpsertMaterializer should not be inserted for retract sinks

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

Timo Walther updated FLINK-38201:
---------------------------------
    Affects Version/s: 2.1.0

> SinkUpsertMaterializer should not be inserted for retract sinks
> ---------------------------------------------------------------
>
>                 Key: FLINK-38201
>                 URL: https://issues.apache.org/jira/browse/FLINK-38201
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Planner
>    Affects Versions: 2.1.0
>            Reporter: Timo Walther
>            Assignee: Timo Walther
>            Priority: Major
>
> Currently, the logic in FlinkChangelogModeInferenceProgram for enabling upsert materialize does not distinguish between retract and upsert. Thus, SinkUpsertMaterializer is added for retract sinks. The resulting changelog is incorrect as it misses -U. Retract is flexible enough to simply be passed to the sink without further changes.



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