Re: does reduce function has a bug
Posted by
Till Rohrmann on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/does-reduce-function-has-a-bug-tp5747p5748.html
Hi Balaji,
the output you see is the correct output since you're computing a continuous reduce of the incoming data. Since you haven't defined a time frame for your reduce computation you either would have to wait for all eternity to output the final result or you output every time you've generated a new reduce result this result (which is of course partial). Since the first option is not very practical, Flink emits the partial reduce results.
Cheers,
Till