Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-10000

There's a mistake in the comments of CoGroupedStreams.java

    XMLWordPrintableJSON

Details

    Description

      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());
       

      the params of method equalTo should be MySecondKeySelector instead of MyFirstKeySelector.

      Attachments

        Issue Links

          Activity

            People

              dangdangdang Shimin Yang
              dangdangdang Shimin Yang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: