You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Dawid Wysakowicz (JIRA)" <ji...@apache.org> on 2018/10/19 07:43:00 UTC

[jira] [Updated] (FLINK-6938) IterativeCondition should support RichFunction interface

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

Dawid Wysakowicz updated FLINK-6938:
------------------------------------
    Description: 
In FLIP-20, we need IterativeCondition to support an {{open()}} method to compile the generated code once. We do not want to insert a if condition  in the {{filter()}} method. So I suggest make IterativeCondition support {{RichFunction}} interface.

Things to be very careful about:
* backwards compatibility (we previously serialized conditions) - changes to those interfaces have to be done carefully
* we want to be able to add dynamic patterns in the future, so at some point we have to open also on control message arrival



  was:In FLIP-20, we need IterativeCondition to support an {{open()}} method to compile the generated code once. We do not want to insert a if condition  in the {{filter()}} method. So I suggest make IterativeCondition support {{RichFunction}} interface.


> IterativeCondition should support RichFunction interface
> --------------------------------------------------------
>
>                 Key: FLINK-6938
>                 URL: https://issues.apache.org/jira/browse/FLINK-6938
>             Project: Flink
>          Issue Type: Sub-task
>          Components: CEP
>            Reporter: Jark Wu
>            Assignee: Jark Wu
>            Priority: Major
>
> In FLIP-20, we need IterativeCondition to support an {{open()}} method to compile the generated code once. We do not want to insert a if condition  in the {{filter()}} method. So I suggest make IterativeCondition support {{RichFunction}} interface.
> Things to be very careful about:
> * backwards compatibility (we previously serialized conditions) - changes to those interfaces have to be done carefully
> * we want to be able to add dynamic patterns in the future, so at some point we have to open also on control message arrival



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