From 5195b5513704c1b40c52c6f922c308f652ac174d Mon Sep 17 00:00:00 2001 From: guidao Date: Sun, 17 Sep 2023 00:10:43 +0800 Subject: [PATCH] fix pos --- expr/functions/transformNull/function.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expr/functions/transformNull/function.go b/expr/functions/transformNull/function.go index 0ebbac84c..566aa433e 100644 --- a/expr/functions/transformNull/function.go +++ b/expr/functions/transformNull/function.go @@ -42,7 +42,7 @@ func (f *transformNull) Do(ctx context.Context, e parser.Expr, from, until int64 if err != nil { return nil, err } - defaultOnAbsent, err := e.GetBoolNamedOrPosArgDefault("defaultOnAbsent", 2, false) + defaultOnAbsent, err := e.GetBoolNamedOrPosArgDefault("defaultOnAbsent", 3, false) if err != nil { return nil, err }