lincoln-lil commented on code in PR #21683:
URL: https://github.com/apache/flink/pull/21683#discussion_r1073264039


##########
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/plan/rules/physical/stream/TwoStageOptimizedAggregateRule.scala:
##########
@@ -59,11 +59,15 @@ class TwoStageOptimizedAggregateRule
 
   override def matches(call: RelOptRuleCall): Boolean = {
     val tableConfig = unwrapTableConfig(call)
-    val agg: StreamPhysicalGroupAggregate = call.rel(0)
-    val realInput: RelNode = call.rel(2)
+    val isMiniBatchEnabled = 
tableConfig.get(ExecutionConfigOptions.TABLE_EXEC_MINIBATCH_ENABLED)

Review Comment:
   Ignore this, it's my oversight(since the new `matchesTwoStage` is needed for 
the new analyzer).



-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to