Skip to content

Commit 50b91b3

Browse files
committed
fix error returned as result value
1 parent d4a1c13 commit 50b91b3

File tree

4 files changed

+98
-92
lines changed

4 files changed

+98
-92
lines changed

sql/aggregates.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ type WindowFunction interface {
4949
// TODO: implement sliding window interface in aggregation functions and windowBlockIter
5050
// NewSlidingFrameInterval(added, dropped WindowInterval)
5151
// Compute returns an aggregation result for a given interval and buffer
52-
Compute(*Context, WindowInterval, WindowBuffer) interface{}
52+
Compute(*Context, WindowInterval, WindowBuffer) (interface{}, error)
5353
}
5454

5555
// WindowAdaptableExpression is an Expression that can be executed as a window aggregation

0 commit comments

Comments
 (0)