Skip to content

Commit bf71230

Browse files
committed
feat: add avg, max, min to allowed functions
1 parent 685b9d9 commit bf71230

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/common/utils.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ func SliceToChunks[T any](values []T, chunkSize int) [][]T {
2525
var allowedFunctions = map[string]struct{}{
2626
"sum": {},
2727
"count": {},
28+
"countDistinct": {},
29+
"avg": {},
30+
"max": {},
31+
"min": {},
2832
"reinterpretasuint256": {},
2933
"reverse": {},
3034
"unhex": {},

0 commit comments

Comments
 (0)