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

This commit is contained in:
Ryan McKinley
2024-02-16 16:59:11 -08:00
committed by GitHub
parent 46a77c0074
commit f23f50f58d
15 changed files with 2074 additions and 1776 deletions

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))]
}