[ https://issues.apache.org/jira/browse/FLINK-23555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17390327#comment-17390327 ]
Caizhi Weng commented on FLINK-23555: ------------------------------------- Hi! The example is missing. Could you check the description again? > Improve common subexpression elimination by using local references > ------------------------------------------------------------------ > > Key: FLINK-23555 > URL: https://issues.apache.org/jira/browse/FLINK-23555 > Project: Flink > Issue Type: Improvement > Components: Table SQL / Planner > Reporter: weibowen > Priority: Major > Fix For: 1.14.0 > > > When we write a sql like > By default, Flink uses {{org.apache.calcite.rex.RexProgram#expandLocalRef}} > to remove local references which reverses the effect of common subexpression > elimination -- This message was sent by Atlassian Jira (v8.3.4#803005)