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 2020/02/12 15:39:00 UTC

[jira] [Commented] (FLINK-16010) Support notFollowedBy with interval as the last part of a Pattern

    [ https://issues.apache.org/jira/browse/FLINK-16010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17035456#comment-17035456 ] 

Dawid Wysakowicz commented on FLINK-16010:
------------------------------------------

There is already an issue that aims to solve the same/similar problem: FLINK-9431

> Support notFollowedBy with interval as the last part of a Pattern
> -----------------------------------------------------------------
>
>                 Key: FLINK-16010
>                 URL: https://issues.apache.org/jira/browse/FLINK-16010
>             Project: Flink
>          Issue Type: New Feature
>          Components: Library / CEP
>    Affects Versions: 1.9.0
>            Reporter: shuai.xu
>            Priority: Major
>
> Now, Pattern.begin("a").notFollowedBy("b") is not allowed in CEP. But this a useful in many applications. Such as operators may want to find the users who created an order but didn't pay in 10 minutes.
> So I propose to support that notFollowedBy() with a interval can be the last part of a Pattern. 
> For example,  Pattern.begin("a").notFollowedBy("b").within(Time.minutes(10)) will be valid in the future.
> Discuss in dev mail list is [https://lists.apache.org/thread.html/rc505728048663d672ad379578ac67d3219f6076986c80a2362802ebb%40%3Cdev.flink.apache.org%3E] 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)