I'm not sure about adding another step in the optimization phase. You mentioned that "If adding ReduceExpressionRule.CALC to logical opt phase, it will increase the the search time.", do you have numbers for this? Otherwise I would add it to logical optimization phase because this is actually where it belongs.
[ Full content available at: https://github.com/apache/flink/pull/6455 ] This message was relayed via gitbox.apache.org for [email protected]
