More agg functions

This commit is contained in:
Alexander Zobnin
2021-05-25 16:04:05 +03:00
parent e996252aff
commit addd86d7cd
2 changed files with 35 additions and 2 deletions

View File

@@ -61,6 +61,12 @@ func getAggFunc(agg string) timeseries.AggFunc {
return timeseries.AggMax
case "min":
return timeseries.AggMin
case "sum":
return timeseries.AggSum
case "median":
return timeseries.AggMedian
case "count":
return timeseries.AggCount
case "first":
return timeseries.AggFirst
case "last":