godfreyhe commented on a change in pull request #14206:
URL: https://github.com/apache/flink/pull/14206#discussion_r530131206
##########
File path:
flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/plan/rules/FlinkStreamRuleSets.scala
##########
@@ -365,6 +365,8 @@ object FlinkStreamRuleSets {
PythonCorrelateSplitRule.INSTANCE,
// merge calc after calc transpose
FlinkCalcMergeRule.INSTANCE,
+ // remove trivial calc
+ FlinkLogicalCalcRemoveRule.INSTANCE,
Review comment:
Why not use `CoreRules.CALC_REMOVE` directly ?
please also add this rule to `FlinkBatchRuleSets`
----------------------------------------------------------------
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]