godfreyhe commented on a change in pull request #14830:
URL: https://github.com/apache/flink/pull/14830#discussion_r633973171



##########
File path: 
flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/plan/optimize/program/FlinkChangelogModeInferenceProgram.scala
##########
@@ -470,20 +470,21 @@ class FlinkChangelogModeInferenceProgram extends 
FlinkOptimizeProgram[StreamOpti
 
       case _: StreamPhysicalGroupAggregate | _: 
StreamPhysicalGroupTableAggregate |
            _: StreamPhysicalLimit | _: StreamPhysicalPythonGroupAggregate |
-           _: StreamPhysicalPythonGroupTableAggregate =>
-        // Aggregate, TableAggregate and Limit requires update_before if there 
are updates
+           _: StreamPhysicalPythonGroupTableAggregate |

Review comment:
       nit: use `StreamPhysicalGroupWindowAggregateBase` instead of three 
sub-classes




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to