You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Martijn Visser (Jira)" <ji...@apache.org> on 2026/10/02 15:00:00 UTC

[jira] [Created] (FLINK-40900) NDU analyzer does not check predicates pushed into a CDC source

Martijn Visser created FLINK-40900:
--------------------------------------

             Summary: NDU analyzer does not check predicates pushed into a CDC source
                 Key: FLINK-40900
                 URL: https://issues.apache.org/jira/browse/FLINK-40900
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Planner
            Reporter: Martijn Visser


{{visitTableSourceScan}} in {{StreamNonDeterministicUpdatePlanVisitor}} only checks metadata columns. A predicate that a source with updates accepts through {{SupportsFilterPushDown}} is evaluated by the source for inserts and retractions alike and never reaches the visitor, so a non-deterministic one has the same effect as the Calc case in FLINK-28737 without being reported. We should check whether the push-down rules already keep non-deterministic predicates out of updating sources, and if not either check them in the visitor or stop pushing them.



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