This is an automated email from the ASF dual-hosted git repository.
snuyanzin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 67415737056 [hotfix] Use `simplifiedCondition` to check for
`isAlwaysTrue` in `PushCalcPastChangelogNormalizeRule`
67415737056 is described below
commit 6741573705646a3d911d2f9b41aee91213e92c89
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Thu Sep 4 14:18:58 2025 +0200
[hotfix] Use `simplifiedCondition` to check for `isAlwaysTrue` in
`PushCalcPastChangelogNormalizeRule`
---
.../plan/rules/physical/stream/PushCalcPastChangelogNormalizeRule.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/plan/rules/physical/stream/PushCalcPastChangelogNormalizeRule.java
b/flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/plan/rules/physical/stream/PushCalcPastChangelogNormalizeRule.java
index da152485828..1794ace42b0 100644
---
a/flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/plan/rules/physical/stream/PushCalcPastChangelogNormalizeRule.java
+++
b/flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/plan/rules/physical/stream/PushCalcPastChangelogNormalizeRule.java
@@ -328,7 +328,7 @@ public class PushCalcPastChangelogNormalizeRule
final RexNode condition = relBuilder.and(conditions);
final RexNode simplifiedCondition =
FlinkRexUtil.simplify(relBuilder.getRexBuilder(),
condition, rexExecutor);
- if (!condition.isAlwaysTrue()) {
+ if (!simplifiedCondition.isAlwaysTrue()) {
programBuilder.addCondition(adjustInputRef(simplifiedCondition,
inputRefMapping));
}
}