Question about EventTimeTrigger

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Question about EventTimeTrigger

Jiawei Wu
Hi,

I have a quick question about the "EventTimeTrigger". I notice it's based on TimeWindow instead of Window. Is there any reason why this cannot apply to GlobalWindow?

Thanks,
Jiawei
Reply | Threaded
Open this post in threaded view
|

Re: Question about EventTimeTrigger

Tzu-Li (Gordon) Tai
Hi,

Could you briefly describe what you are trying to achieve?

By definition, a GlobalWindow includes all data - the ending timestamp for
these windows are therefore Long.MAX_VALUE. An event time trigger wouldn't
make sense here, since that trigger would never fire (watermark can not pass
the end timestamp of a GlobalWindow).

Gordon



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/