Gustavo de Morais created FLINK-39614:
-----------------------------------------
Summary: 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
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)