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

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

Github user medcv commented on a diff in the pull request:

    https://github.com/apache/flink/pull/6138#discussion_r195749896
  
    --- Diff: docs/dev/libs/cep.md ---
    @@ -131,7 +131,7 @@ val result: DataStream[Alert] = 
patternStream.select(createAlert(_))
     The pattern API allows you to define complex pattern sequences that you 
want to extract from your input stream.
     
     Each complex pattern sequence consists of multiple simple patterns, i.e. 
patterns looking for individual events with the same properties. From now on, 
we will call these simple patterns **patterns**, and the final complex pattern 
sequence we are searching for in the stream, the **pattern sequence**. You can 
see a pattern sequence as a graph of such patterns, where transitions from one 
pattern to the next occur based on user-specified
    -*conditions*, e.g. `event.getName().equals("start")`. A **match** is a 
sequence of input events which visits all
    --- End diff --
    
    just to make it consistent with the `return event.getName().equals("end");` 
in the above snippet 


> FlinkCEP snippet example has some syntax errors
> -----------------------------------------------
>
>                 Key: FLINK-9550
>                 URL: https://issues.apache.org/jira/browse/FLINK-9550
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Yazdan Shirvany
>            Assignee: Yazdan Shirvany
>            Priority: Minor
>
> I tried to work with FlinckCEP documentarians and my assumption was the 
> snippet example should work but I got some syntax errors that needed to be 
> fix.  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to