Event Time Windows

A note on window times:

The time zone of events matters! Unless specified in the data, the timestamps will be in UTC. If your Spark session is configured in a different time zone (by default it's the time zone of the system), then you may see different results than those in the video.

You can configure the Spark session to UTC:

spark.conf.set("spark.sql.session.timeZone", "UTC")

Complete and Continue