Details
-
Sub-task
-
Status: Reopened
-
Major
-
Resolution: Unresolved
-
3.0.0
-
None
-
None
Description
postgres=# SELECT i, Sum(cast(v as interval)) OVER (ORDER BY i ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) FROM (VALUES(1,'1 sec'),(2,'2 sec'),(3,NULL),(4,NULL)) t(i,v); i | sum ---+---------- 1 | 00:00:03 2 | 00:00:02 3 | 4 | (4 rows)