From ee9a2793da6e6a95d430d5df1054a7a785fa6ff6 Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Mon, 6 Jan 2025 18:06:54 +0800 Subject: [PATCH] fix: [skip-e2e] Remove valid expressions from invalid expressions (#39012) issue: #39014 Signed-off-by: Cai Zhang --- tests/go_client/common/utils.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/go_client/common/utils.go b/tests/go_client/common/utils.go index 7b671b0b8c..76722bc200 100644 --- a/tests/go_client/common/utils.go +++ b/tests/go_client/common/utils.go @@ -134,8 +134,6 @@ type InvalidExprStruct struct { var InvalidExpressions = []InvalidExprStruct{ {Expr: "id in [0]", ErrNil: true, ErrMsg: "fieldName(id) not found"}, // not exist field but no error {Expr: "int64 in not [0]", ErrNil: false, ErrMsg: "cannot parse expression"}, // wrong term expr keyword - {Expr: "int64 > 10 AND int64 < 100", ErrNil: false, ErrMsg: "cannot parse expression"}, // AND isn't supported - {Expr: "int64 < 10 OR int64 > 100", ErrNil: false, ErrMsg: "cannot parse expression"}, // OR isn't supported {Expr: "int64 < floatVec", ErrNil: false, ErrMsg: "not supported"}, // unsupported compare field {Expr: "floatVec in [0]", ErrNil: false, ErrMsg: "cannot be casted to FloatVector"}, // value and field type mismatch {Expr: fmt.Sprintf("%s == 1", DefaultJSONFieldName), ErrNil: true, ErrMsg: ""}, // hist empty