You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Flink Jira Bot (Jira)" <ji...@apache.org> on 2021/11/13 22:39:00 UTC

[jira] [Updated] (FLINK-13881) CEP within method should applied in every independent pattern

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

Flink Jira Bot updated FLINK-13881:
-----------------------------------
    Labels: auto-deprioritized-major stale-minor  (was: auto-deprioritized-major)

I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help the community manage its development. I see this issues has been marked as Minor but is unassigned and neither itself nor its Sub-Tasks have been updated for 180 days. I have gone ahead and marked it "stale-minor". If this ticket is still Minor, please either assign yourself or give an update. Afterwards, please remove the label or in 7 days the issue will be deprioritized.


> 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: Minor
>              Labels: auto-deprioritized-major, stale-minor
>
> 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.20.1#820001)