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

Dian Fu commented on FLINK-4641:
--------------------------------

Hi [~dawidwys], just think of one more use case:
for the above second example, pattern {noformat}a ( ( b c{1,} ) | d ) {2} 
e{noformat}
if the inputs are {{a, b1, c1, d1, c2, d2, e}}, what do you think the output 
should be? Will it contain {{a b1 c1 c2 d2 e}} or {{a d1 d2 e}}?





> 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