ClickHouse/dbms/tests/queries/0_stateless/00953_moving_sum.reference

33 lines
692 B
Plaintext
Raw Normal View History

2019-06-12 13:53:23 +00:00
k dt v
a 2001-02-03 00:00:00 0
a 2001-02-03 00:00:01 1
a 2001-02-03 00:00:02 2
a 2001-02-03 00:00:03 3
a 2001-02-03 00:00:04 4
b 2001-02-03 00:00:00 0
b 2001-02-03 00:00:01 1
b 2001-02-03 00:00:02 2
b 2001-02-03 00:00:03 3
b 2001-02-03 00:00:04 4
2019-06-13 16:17:20 +00:00
b 2001-02-03 01:00:00 5
b 2001-02-03 01:00:01 6
b 2001-02-03 01:00:02 7
b 2001-02-03 01:00:03 8
b 2001-02-03 01:00:04 9
2019-06-12 13:13:42 +00:00
k movingSum(v)
String Array(UInt64)
a [0,1,3,6,10]
b [0,1,3,6,10,15,21,28,36,45]
k movingSum(3)(v)
String Array(UInt64)
a [0,1,3,6,9]
b [0,1,3,6,9,12,15,18,21,24]
k movingSum(v)
2019-06-12 13:53:23 +00:00
String Array(UInt64)
a [0,1,3,6,10]
b [0,1,3,6,10,15,21,28,36,45]
2019-06-12 13:13:42 +00:00
k movingSum(v)
2019-06-12 13:53:23 +00:00
String Array(UInt64)
a [0,1,3,6,10]
b [0,1,3,6,10,15,21,28,36,45]