[jira] [Created] (FLINK-13870) within method should applied in every individual pattern

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-13870) within method should applied in every individual pattern

Shang Yuanchun (Jira)
YufeiLiu created FLINK-13870:
--------------------------------

             Summary: within method should applied in every individual pattern
                 Key: FLINK-13870
                 URL: https://issues.apache.org/jira/browse/FLINK-13870
             Project: Flink
          Issue Type: New Feature
          Components: Library / CEP
    Affects Versions: 1.8.0
            Reporter: YufeiLiu


When I write a Pattern like this:
```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))
```
the actual windowTime is the smallest time: 1 second.
If I want having different windowTime in different part of pattern, I couldn't find a way.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)