[ https://issues.apache.org/jira/browse/FLINK-16010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17037508#comment-17037508 ]
Dian Fu commented on FLINK-16010: --------------------------------- As [~dwysakowicz] mentioned in FLINK-9431, I also think that this is valid requirement. I like the design overall as it will not introduce additional APIs and the design seems clean and feasible for me. [~aitozi] It will be great if you could share some thoughts on this design as I noticed that you have proposed another design before. > 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)