average( tws TimeWeightSummary ) RETURNS DOUBLE PRECISION
A function to compute a time weighted average from a
|The input TimeWeightSummary from a |
|The time weighted average computed from the |
SELECT id, average(tws) FROM ( SELECT id, time_weight('LOCF', ts, val) AS tws FROM foo GROUP BY id ) t
Found an issue on this page?Report an issue!