From efaccb8afaa780873c9b644adbb9d49a9ce37909 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Sun, 29 Apr 2018 14:43:12 +0100 Subject: [PATCH] Add math.min() and math.max() to rolling functions --- sql/funcs.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sql/funcs.go b/sql/funcs.go index 4b9a72aa..cf4ab618 100644 --- a/sql/funcs.go +++ b/sql/funcs.go @@ -27,8 +27,9 @@ var rolls = map[string]bool{ // Math implementation "math.geometricmean": true, + "math.max": true, "math.mean": true, - "math.percentile": true, + "math.min": true, "math.stddev": true, "math.sum": true, "math.variance": true,