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

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

dubin555 opened a new pull request #7158: [FLINK-10980][docs] Fix Iterable 
Scala code in CEP part
URL: https://github.com/apache/flink/pull/7158
 
 
   ## What is the purpose of the change
   
   This pull request fix some Iterable Scala code in the CEP part of the doc
   
   ## Brief change log
   
     - *Change the Iterable[T].get.next to Iterable[T].get.head* because 
Iterable[T].get.next cannot compile.
   
   ## Verifying this change
   
   This change is a docs cleanup.
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (no)
     - The serializers: (no)
     - The runtime per-record code paths (performance sensitive): (no)
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
     - The S3 file system connector: (no)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (no)
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Wrong statement in CEP Scala part
> ---------------------------------
>
>                 Key: FLINK-10980
>                 URL: https://issues.apache.org/jira/browse/FLINK-10980
>             Project: Flink
>          Issue Type: Bug
>          Components: CEP, Documentation
>    Affects Versions: 1.6.2
>            Reporter: DuBin
>            Priority: Minor
>              Labels: pull-request-available
>
> The CEP 'Selecting from patterns' part of Doc gives wrong code.
> {{ val startEvent = pattern.get("start").get.next }}
> {{val endEvent = pattern.get("end").get.next}}
> {{should be .get.head}}



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

Reply via email to