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

Flink Jira Bot updated FLINK-20474:
-----------------------------------
      Labels: auto-deprioritized-major auto-deprioritized-minor 
pull-request-available  (was: auto-deprioritized-major pull-request-available 
stale-minor)
    Priority: Not a Priority  (was: Minor)

This issue was labeled "stale-minor" 7 days ago and has not received any 
updates so it is being deprioritized. If this ticket is actually Minor, please 
raise the priority and ask a committer to assign you the issue or revive the 
public discussion.


> flink cep results of doc is not right
> -------------------------------------
>
>                 Key: FLINK-20474
>                 URL: https://issues.apache.org/jira/browse/FLINK-20474
>             Project: Flink
>          Issue Type: Bug
>          Components: Library / CEP
>    Affects Versions: 1.12.0
>            Reporter: Jacky Lau
>            Priority: Not a Priority
>              Labels: auto-deprioritized-major, auto-deprioritized-minor, 
> pull-request-available
>
> h4. Contiguity within looping patterns
> You can apply the same contiguity condition as discussed in the previous 
> [section|https://ci.apache.org/projects/flink/flink-docs-release-1.12/dev/libs/cep.html#combining-patterns]
>  within a looping pattern. The contiguity will be applied between elements 
> accepted into such a pattern. To illustrate the above with an example, a 
> pattern sequence {{"a b+ c"}} ({{"a"}} followed by any(non-deterministic 
> relaxed) sequence of one or more {{"b"}}’s followed by a {{"c"}}) with input 
> {{"a", "b1", "d1", "b2", "d2", "b3" "c"}} will have the following results:
>  # *Strict Contiguity*: {{{a b3 c}}} – the {{"d1"}} after {{"b1"}} causes 
> {{"b1"}} to be discarded, the same happens for {{"b2"}} because of {{"d2"}}.
>  # *Relaxed Contiguity*: {{{a b1 c}}}, {{{a b1 b2 c}}}, {{{a b1 b2 b3 c}}}, 
> {{{a b2 c}}}, {{{a b2 b3 c}}}, {{{a b3 c}}} - {{"d"}}’s are ignored.
>  # *Non-Deterministic Relaxed Contiguity*: {{{a b1 c}}}, {{{a b1 b2 c}}}, 
> {{{a b1 b3 c}}}, {{{a b1 b2 b3 c}}}, {{{a b2 c}}}, {{{a b2 b3 c}}}, {{{a b3 
> c}}} - notice the {{{a b1 b3 c}}}, which is the result of relaxing contiguity 
> between {{"b"}}’s.
>  
>  {{"a b+ c"}} ({{"a"}} followed by any(non-deterministic relaxed) sequence of 
> one or more {{"b"}}’s followed by a {{"c"}}) is not correct at *followed by a 
> {{"c". it is nexted by a "c"}}*



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to