You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yuepeng Pan (Jira)" <ji...@apache.org> on 2026/05/05 23:24:00 UTC

[jira] [Updated] (FLINK-37477) Emit full deletes from StreamJoin if it gets deletes on key on input

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

Yuepeng Pan updated FLINK-37477:
--------------------------------
    Fix Version/s: 2.4.0
                       (was: 2.3.0)

> Emit full deletes from StreamJoin if it gets deletes on key on input
> --------------------------------------------------------------------
>
>                 Key: FLINK-37477
>                 URL: https://issues.apache.org/jira/browse/FLINK-37477
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / Planner
>            Reporter: Dawid Wysakowicz
>            Assignee: Dawid Wysakowicz
>            Priority: Major
>             Fix For: 2.4.0
>
>
> StreamExecJoin can consume deletes on key if the join conditions is on primary keys. The state lookups happen using the key. However for deletes it uses the currently incoming record, which in case of DELETE may be a DELETE on key. Given that we have the information about previous value, we can emit the full delete instead. This will make JOIN operator work similarly like ChangelogNormalize.



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