add field to SetRowAttrs and TopK to prototypes in ast.go

This commit is contained in:
Maxton Huff 2021-03-01 11:18:31 -06:00
parent 23f44725cb
commit 15aa7d1ad8

View file

@ -421,6 +421,7 @@ var callInfoByFunc = map[string]callInfo{
allowUnknown: false,
prototypes: map[string]interface{}{
"_field": "",
"field": "",
"k": int64(0),
"filter": nil,
"from": nil,
@ -483,6 +484,7 @@ var callInfoByFunc = map[string]callInfo{
allowUnknown: true,
prototypes: map[string]interface{}{
"_field": "",
"field": "",
"_row": stringOrInt64,
},
},