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

ASF GitHub Bot commented on FLINK-7147:
---------------------------------------

Github user dianfu commented on the issue:

    https://github.com/apache/flink/pull/4296
  
    @dawidwys Thanks a lot for the review. I have updated the patch. Currently, 
there is something wrong when the greedy state is followed by an optional 
state. This can be covered by test case 
GreedyITCase.testGreedyZeroOrMoreBeforeOptional2 (duplicate results will be 
got). Solutions from my mind are removing the duplicate results before 
returning the results in NFA or disabling this case for the time being. What's 
your thought? Do you have any suggestions to this problem?


> Support greedy quantifier in CEP
> --------------------------------
>
>                 Key: FLINK-7147
>                 URL: https://issues.apache.org/jira/browse/FLINK-7147
>             Project: Flink
>          Issue Type: Sub-task
>          Components: CEP, Table API & SQL
>            Reporter: Dian Fu
>            Assignee: Dian Fu
>
> Greedy quantifier will try to match the token as many times as possible. For 
> example, for pattern {{a b* c}} (skip till next is used) and inputs {{a b1 b2 
> c}}, if the quantifier for {{b}} is greedy, it will only output {{a b1 b2 c}}.



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

Reply via email to