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

YufeiLiu updated FLINK-13870:
-----------------------------
    Description: 
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 windowTime is the smallest time: 1 second.
If I want having different windowTime in different part of pattern, I couldn't 
find a way.

  was:
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.


> 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
>            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 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)

Reply via email to