[ 
https://issues.apache.org/jira/browse/FLINK-9997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16635369#comment-16635369
 ] 

ASF GitHub Bot commented on FLINK-9997:
---------------------------------------

twalthr commented on a change in pull request #6455: [FLINK-9997] [table] 
Improve Expression Reduce
URL: https://github.com/apache/flink/pull/6455#discussion_r221924196
 
 

 ##########
 File path: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/plan/rules/FlinkRuleSets.scala
 ##########
 @@ -136,6 +136,11 @@ object FlinkRuleSets {
     FlinkLogicalNativeTableScan.CONVERTER
   )
 
+  val FLINK_LOGICAL_OPT_RULES: RuleSet = RuleSets.ofList(
 
 Review comment:
   You mentioned "There's no Calc node at normalize plans, so 
ReduceExpressionRule.CALC does not match any thing.". So can we remove it from 
`DATASTREAM_NORM_RULES` and `DATASET_NORM_RULES`?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Improve Expression Reduce
> -------------------------
>
>                 Key: FLINK-9997
>                 URL: https://issues.apache.org/jira/browse/FLINK-9997
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API & SQL
>            Reporter: Ruidong Li
>            Assignee: Ruidong Li
>            Priority: Major
>              Labels: pull-request-available
>
> There's no Calc node at normalize plans, so ReduceExpressionRule.CALC does 
> not match any thing.
> If adding calc-related rules to normalize phase, then project-related rules 
> and filter-related rules do not match any thing at logical opt phase. If 
> adding ReduceExpressionRule.CALC to logical opt phase, it will increase the 
> the search time. Therefore, adding a new phase after logical opt may be an 
> option.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to