Re: Apache Flink - Question about Global Windows
Posted by
M Singh on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Apache-Flink-Question-about-Global-Windows-tp16734p16756.html
Hi Xingcan: Thanks for your response.
So to summarize - global windows can be applied to keyed and non keyed windows - we only have to specify trigger with it to invoke the computation function.
Thanks
Mans
On Wednesday, November 15, 2017 5:43 AM, Xingcan Cui <[hidden email]> wrote:
Hi Mans,
the "global" here indicates the "horizontal" (count, time, etc.) dimension instead of the "vertical" (keyBy) dimension, i.e., all the received data will be placed into a single huge window. Actually, it's an orthogonal concept with the KeyBy operations since both DataStream and KeyedStream can define their own global windows. Compared with other windows (e.g., tumbling or sliding ones), it's more flexible to implement your own triggers on it.
Hope that helps.
Best,
Xingcan