[
https://issues.apache.org/jira/browse/FLINK-13881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16917574#comment-16917574
]
Dawid Wysakowicz edited comment on FLINK-13881 at 8/28/19 9:01 AM:
-------------------------------------------------------------------
As I said. I agree with the principle. This could be useful. I also agree that
the current API is super misleading.
At the same time I cannot tell if the feature or when this feature will make
way into Flink. I would advise you to reach out to the dev mailing list, if you
are interested in working on it. Sorry I can't help more.
was (Author: dawidwys):
As I said. I agree with the principle. This could be useful. I also agree that
the current API is super misleading.
At the same time I cannot tell if the feature or when this feature will make
way into Flink. I would advise you to reach out to the dev mailing list, if you
are interested in working on it.
> CEP within method should applied in every independent pattern
> -------------------------------------------------------------
>
> Key: FLINK-13881
> URL: https://issues.apache.org/jira/browse/FLINK-13881
> Project: Flink
> Issue Type: Improvement
> Components: Library / CEP
> Affects Versions: 1.9.0
> Reporter: YufeiLiu
> Priority: Major
>
> When I write a Pattern like this:
> {code:java}
> Pattern.begin("start").where()
> .followBy("middle0").where().within(Time.second(1))
> .followBy("middle1").where().within(Time.second(2))
> .followBy("middle2").where().within(Time.second(3))
> {code}
> the actual within time is the smallest: 1 second.
> I created a TimeCondition extends IterativeCondition, and I can get timestamp
> of current event and previous computation state, then I compare them in
> condition filter. Also make some change in NFACompiler, transform within as
> StateTransition rather than a gobal property "windowTime" of NFA.
> It could work, but I dont know should I change the implementation of within
> or create another syntax.
> [~dawidwys] Is this meaningful?
--
This message was sent by Atlassian Jira
(v8.3.2#803003)