blob: 334bf2cb834a98b1ba7981a5ffec4c233e63cac0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* syntax version 1 */
/* postgres can not */
/* ytfile can not */
/* yt can not */
PRAGMA dq.AnalyticsHopping="true";
SELECT
user,
HOP_START() as ts,
SUM(payload) as payload
FROM plato.Input
GROUP BY HOP(DateTime::FromSeconds(CAST(ts as Uint32)), "PT10S", "PT10S", "PT10S"), user;
|