Context
I have created a streaming job using Azure portal which aggregates data using a day wise TUMBLINGWINDOW. Have attached a code snippet below, modified from the docs, which shows similar logic.
SELECT
DATEADD(day, -1, System.Timestamp()) AS WindowStart
System.Timestamp() AS WindowEnd,
TollId,
COUNT(*)
FROM Input TIMESTAMP BY EntryTime
GROUP BY TumblingWindow(day, 1), TollId
Question
If the TUMBLINGWINDOW outputs at the end of the window (which in the case that I start my job at midnight of any given day would mean shortly after midnight of the next day) then during the day is data still being processed or does the processing only happen based on when the query is outputting?
An explanation in detail as to how this would work would be great. Haven't found any documentation which really explains these concepts in detail (with these edge cases)
Thoughts
I am trying to gauge how if I stop a job from running and start it again from "When Last Stopped" would it still lead to the same aggregation as if I'd left it on all the time (if it would then how)? Bearing in mind I am using a day wise TUMBLINGWINDOW?