beyond1920 commented on a change in pull request #16024:
URL: https://github.com/apache/flink/pull/16024#discussion_r643085769



##########
File path: 
flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/plan/rules/FlinkBatchRuleSets.scala
##########
@@ -307,6 +307,9 @@ object FlinkBatchRuleSets {
     CoreRules.PROJECT_TO_CALC,
     FlinkCalcMergeRule.INSTANCE,
 
+    // remove output of rank number when it is not used by successor calc
+    RedundantRankNumberColumnRemoveRule.INSTANCE,

Review comment:
       The rule should be in a HepPlanner phase instead of VolcanoPlanner phase.




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