You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "godfrey he (JIRA)" <ji...@apache.org> on 2019/04/23 06:56:00 UTC

[jira] [Updated] (FLINK-12295) avoid to call retractExpressions method of max/min function in retractable aggregate code-gen

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

godfrey he updated FLINK-12295:
-------------------------------
    Summary: avoid to call retractExpressions method of max/min function in retractable aggregate code-gen  (was: avoid to call retractExpressions method for max/min function in retractable aggregate code-gen)

> avoid to call retractExpressions method of max/min function in retractable aggregate code-gen
> ---------------------------------------------------------------------------------------------
>
>                 Key: FLINK-12295
>                 URL: https://issues.apache.org/jira/browse/FLINK-12295
>             Project: Flink
>          Issue Type: New Feature
>          Components: Table SQL / Runtime
>            Reporter: godfrey he
>            Assignee: godfrey he
>            Priority: Major
>
> after {{FlinkRelMdModifiedMonotonicity}} introduced, a max/min function whose result value is modified  increasing/decreasing could ignore retraction message. We could choose regular max/min function instead of retract max/min function in code-gen. Currently, this requires the regular max/min function must implements {{retractExpressions}} method and do not throw any exceptions. A better approach is the retractable aggregate operator does not call {{retractExpressions}} method for max/min function.



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