Expressions: Add model struct for the query types (not map[string]any) (#82745)

This commit is contained in:
Ryan McKinley
2024-02-17 02:59:11 +02:00
committed by GitHub
parent 46a77c0074
commit f23f50f58d
15 changed files with 2074 additions and 1776 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ func TestReduceExecute(t *testing.T) {
})
}
func randomReduceFunc() string {
func randomReduceFunc() mathexp.ReducerID {
res := mathexp.GetSupportedReduceFuncs()
return res[rand.Intn(len(res))]
}