[ https://issues.apache.org/jira/browse/FLINK-10000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16563827#comment-16563827 ]
Hequn Cheng edited comment on FLINK-10000 at 7/31/18 3:21 PM: -------------------------------------------------------------- Coooooool, 10000. Thanks for [~dangdangdang]. One big step for flink and look forward to the next :D was (Author: hequn8128): Coooooool, 10000. Thanks for [~dangdangdang]. One big step for flink and looking forward to the next :D > 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}} > {code} > DataStream<T> result = one.coGroup(two) > .where(new MyFirstKeySelector()) > .equalTo(new MyFirstKeySelector()) > .window(TumblingEventTimeWindows.of(Time.of(5, TimeUnit.SECONDS))) > .apply(new MyCoGroupFunction()); > {code} > the params of method {{equalTo}} should be {{MySecondKeySelector}} instead of > {{MyFirstKeySelector}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005)