[ 
https://issues.apache.org/jira/browse/FLINK-29182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated FLINK-29182:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Priority: Major
>              Labels: pull-request-available
>
> {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)

Reply via email to