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

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

Clarkkkkk opened a new pull request #6463: [FLINK-10000][streaming]Fix the 
example of CoGroupedStreams
URL: https://github.com/apache/flink/pull/6463
 
 
   ## What is the purpose of the change
   
     - Fix the example of CoGroupedStreams.java in comments
   
   ## Brief change log
     - Fix the mistake by replace the param of equalTo, MyFirstKeySelector, 
with MySecondKeySelector  
   
   ## Verifying this change
     - n/a
   
   ## Does this pull request potentially affect one of the following parts:
     - n/a
   
   ## Documentation
     - n/a
   

----------------------------------------------------------------
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:
[email protected]


> There's a mistake in the comments of CoGroupedStreams.java
> ----------------------------------------------------------
>
>                 Key: FLINK-10000
>                 URL: https://issues.apache.org/jira/browse/FLINK-10000
>             Project: Flink
>          Issue Type: Improvement
>          Components: DataStream API
>            Reporter: Shimin Yang
>            Assignee: Shimin Yang
>            Priority: Minor
>              Labels: pull-request-available
>
> The example of CoGroupedStream 
>   * DataStream<T> result = one.coGroup(two)
>  *     .where(new MyFirstKeySelector())
>  *     .equalTo(new MyFirstKeySelector())
>  *     .window(TumblingEventTimeWindows.of(Time.of(5, TimeUnit.SECONDS)))
>  *     .apply(new MyCoGroupFunction());
>  * } </pre>
> the params of method equalTo should be MySecondKeySelector instead of 
> MyFirstKeySelector.



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

Reply via email to