Looking at the docs Create continuous view it's possible to create something like
CREATE CONTINUOUS VIEW cv AS
SELECT
ticketid,
status,
avg(status_duration) OVER w
FROM stream
WINDOW w AS (PARTITION BY ticketid);
But I get the error
ERROR: continuous queries don't support WINDOW functions
Am I misunderstanding the docs? Can someone clarify how window functions can be used in continuous views?
Thanks