I am confused if TUMBLE window will get calculated on regular interval and emit the elements for processing. example I have a query that is expected to work on interval 10 second.
select id, key from eventTable GROUP BY TUMBLE(rowTime, INTERVAL '10' SECOND), id, key ;
Now lets say: application receive event
- E1 @10:00:00
- E2 @10:00:05
- E3 @12:00:10
As you can see E1 and E2 are reached within 5 sec and E3 reached at @12:00:15.
- Can you please help me when E1 & E2 will get emitted for processing? will it be @10:00:11? or when E3 will come and then query will evaluate the window and will emit?
- If it is after E3 then is there any way to make sure query executed in every 10 sec?
Appreciate your help on this.