diff --git a/runtime/vam/expr/compare.go b/runtime/vam/expr/compare.go index 58b50ee24c..2cbede1235 100644 --- a/runtime/vam/expr/compare.go +++ b/runtime/vam/expr/compare.go @@ -103,5 +103,8 @@ func (i *isNull) eval(vecs ...vector.Any) vector.Any { if c, ok := vec.(*vector.Const); ok && c.Value().IsNull() { return vector.NewConst(super.True, vec.Len(), nil) } - return vector.NullsOf(vec) + if nulls := vector.NullsOf(vec); nulls != nil { + return nulls + } + return vector.NewConst(super.False, vec.Len(), nil) }