davidradl commented on code in PR #25825:
URL: https://github.com/apache/flink/pull/25825#discussion_r1908840946


##########
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/plan/rules/FlinkStreamRuleSets.scala:
##########
@@ -72,10 +72,15 @@ object FlinkStreamRuleSets {
 
   /** RuleSet to reduce expressions */
   private val REDUCE_EXPRESSION_RULES: RuleSet = RuleSets.ofList(
-    CoreRules.FILTER_REDUCE_EXPRESSIONS,
     CoreRules.PROJECT_REDUCE_EXPRESSIONS,
+    CoreRules.FILTER_REDUCE_EXPRESSIONS,
     CoreRules.CALC_REDUCE_EXPRESSIONS,
-    CoreRules.JOIN_REDUCE_EXPRESSIONS
+    CoreRules.WINDOW_REDUCE_EXPRESSIONS,

Review Comment:
   I wonder is there a way to put these rules in Java rather than Scala - as I 
believe the direction is to remove Scala from the table planner. 



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