[
https://issues.apache.org/jira/browse/FLINK-28737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18121999#comment-18121999
]
Martijn Visser commented on FLINK-28737:
----------------------------------------
One correction: a filter inside ChangelogNormalize is applied to inserts and
updates only and the operator retracts from state, so that placement is correct
since FLINK-37390 and FLINK-39313 rejecting it is a false positive, see
FLINK-40898. Only the Calc placements lose the retraction.
> NDU analyzer skips the Calc condition once the upsert key covers the sink key
> -----------------------------------------------------------------------------
>
> Key: FLINK-28737
> URL: https://issues.apache.org/jira/browse/FLINK-28737
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Planner
> Affects Versions: 2.1.0
> Reporter: lincoln lee
> Assignee: Martijn Visser
> Priority: Critical
> Labels: pull-request-available
> Fix For: 2.4.0
>
>
> Currently FlinkRelMdUpsertKeys does consider the case when the condition of a
> calc node is non-deterministic, this should be fixed
--
This message was sent by Atlassian Jira
(v8.20.10#820010)