I would like to build sql query to have aggregation done for last 1 year. In this case, window size is last 365 days. Is it possible to do it using ksql ? Like the following query
SELECT regionid, regioncity, COUNT(*) FROM pageviews
WINDOW HOPPING (SIZE 30 SECONDS, ADVANCE BY 10 SECONDS)
GROUP BY regionid, regioncity ;
My question is : When we specify 'SIZE 30 seconds' or 'SIZE 3600 seconds', will it start the window from start of the stream or from latest ?