According to User Guide I suppose that externalTime window (timestamp,time value) should keep events only in range:from timestamp to timestamp + time value.
For example, in execution plan
from input
select time:timestampInMilliseconds(time:dateAdd("2016-11-14 19:40:00", 5, 'minute',"yyyy-MM-dd HH:mm:ss"),'yyyy-MM-dd HH:mm:ss') as tm
insert into tmp;
from tmp#window.externalTime(tm,10 min)
select .....
I supposed that time frame is limited from 2016-11-14 19:45:00 till 2016-11-14 19:55:00.
But in fact events after 19:55 are fired in the publisher too.
Is it a bug ?
If no, how can I make a window from exact time ?