[ 
https://issues.apache.org/jira/browse/FLINK-39614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18079179#comment-18079179
 ] 

Sergey Nuyanzin commented on FLINK-39614:
-----------------------------------------

Merged as 
[6d65a4f69c7231c818912132cb53db81eba4efbb|https://github.com/apache/flink/commit/6d65a4f69c7231c818912132cb53db81eba4efbb]

> 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
>
> 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)

Reply via email to