[ 
https://issues.apache.org/jira/browse/FLINK-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16079997#comment-16079997
 ] 

Dawid Wysakowicz commented on FLINK-4641:
-----------------------------------------

I think {{a b1 c1 c2 d2 e}} is a valid output for that case, whereas the {{a d1 
d2 e}} is not. 

For the second case as we use {{SKIP_TILL_NEXT}} the group already started with 
{{b1 c1}}, so it should not start with {{d1}}.

In the first case, as we do not stop accepting events into a looping state 
right now(if there is no timeout or {{until}} condition), I think the given 
example is valid.

What do you think? [~dian.fu]


> Support branching CEP patterns 
> -------------------------------
>
>                 Key: FLINK-4641
>                 URL: https://issues.apache.org/jira/browse/FLINK-4641
>             Project: Flink
>          Issue Type: Sub-task
>          Components: CEP
>            Reporter: Till Rohrmann
>            Assignee: Dian Fu
>
> We should add support for branching CEP patterns to the Pattern API. 
> {code}
>     |--> B --|
>     |        |
> A --         --> D
>     |        |
>     |--> C --|
> {code}
> This feature will require changes to the {{Pattern}} class and the 
> {{NFACompiler}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to