You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Sergey Nuyanzin (Jira)" <ji...@apache.org> on 2026/05/07 16:47:00 UTC
[jira] [Resolved] (FLINK-39614) Support TO_CHANGELOG: retract stream -> retract stream with set semantics
[ https://issues.apache.org/jira/browse/FLINK-39614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Nuyanzin resolved FLINK-39614.
-------------------------------------
Fix Version/s: 2.4.0
Resolution: Fixed
> Support TO_CHANGELOG: retract stream -> retract stream with set semantics
> -------------------------------------------------------------------------
>
> Key: FLINK-39614
> URL: https://issues.apache.org/jira/browse/FLINK-39614
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / API
> Reporter: Gustavo de Morais
> Assignee: Gustavo de Morais
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.4.0
>
>
> TO_CHANGELOG is currently locked to row semantics. The conditional SET_SEMANTIC_TABLE trait declared in FLINK-39392 is never honored at the type-strategy or runtime level, so calling TO_CHANGELOG(input => TABLE t PARTITION BY k) either fails or duplicates the partition key column in the output.
> This ticket adds support for set semantics for retract: when PARTITION BY is provided, the framework prepends the partition key column(s), and the function emits [op, ...non-partition input fields]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)