diff --git a/pkg/util/ranger/detacher.go b/pkg/util/ranger/detacher.go index 2d414204cf242..dd000e0931b1a 100644 --- a/pkg/util/ranger/detacher.go +++ b/pkg/util/ranger/detacher.go @@ -645,7 +645,7 @@ func allEqOrIn(expr expression.Expression) bool { } } return true - case ast.EQ, ast.NullEQ, ast.In: + case ast.EQ, ast.NullEQ, ast.In, ast.IsNull:: return true } return false