[ https://issues.apache.org/jira/browse/FLINK-29182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jark Wu closed FLINK-29182. --------------------------- Fix Version/s: 1.17.0 Assignee: jackylau Resolution: Fixed Fixed in master: b98534cafd03cde47ecd6d54248a397540dffa71 > SumAggFunction redundant computations > ------------------------------------- > > Key: FLINK-29182 > URL: https://issues.apache.org/jira/browse/FLINK-29182 > Project: Flink > Issue Type: Bug > Components: Table SQL / Planner > Affects Versions: 1.16.0 > Reporter: jackylau > Assignee: jackylau > Priority: Major > Labels: pull-request-available > Fix For: 1.17.0 > > > {code:java} > // code placeholder > public Expression[] accumulateExpressions() { > return new Expression[] { > /* sum = */ ifThenElse( > isNull(operand(0)), > sum, > ifThenElse( > isNull(operand(0)), > sum, > ifThenElse(isNull(sum), operand(0), adjustedPlus(sum, > operand(0))))) > }; > } {code} > it exists redundant computations -- This message was sent by Atlassian Jira (v8.20.10#820010)