diff --git a/query/shape/shape.go b/query/shape/shape.go index 8ef7a3a4c..3c0ee4b55 100644 --- a/query/shape/shape.go +++ b/query/shape/shape.go @@ -1231,7 +1231,6 @@ func (s IntersectOpt) Optimize(ctx context.Context, r Optimizer) (_ Shape, opt b case Intersect: s.Sub = sub case IntersectOpt: - sub.Opt = append(sub.Opt) s = sub opt = true default: