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