HeartSaVioR edited a comment on issue #23576: [SPARK-26655] [SS] Support 
multiple aggregates in append mode
URL: https://github.com/apache/spark/pull/23576#issuecomment-525646638
 
 
   > Beam does not trigger output unless the watermark pass the end of window + 
allowed lateness. There is no triggering between end of window and allowed 
lateness. Close and output is at the same time.
   
   Ah OK I see. That looks same as Append mode. That's a bit different from 
what I read a book for Flink so assuming there're some differences between Beam 
and Flink... (BTW I also read "Streaming Systems", though it mostly explains 
theory and not having pretty much details on Beam.)
   
   > Ah I thought we were talking about watermark. For choosing the event 
timestamp, Beam uses a TimestampCombiner which default policy is to set the 
resulting timestamp to the end of the window for new record.
   
   That seems to only explain the case where window is applied. How it works 
for other cases? Does it keep the origin event timestamp as it is? In windowed 
stream-stream join it also makes sense, but there're also non-windowed 
stream-stream join as well, and then output should have only one event time 
whereas there're two inputs.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to