Description
For IN and OR queries, we currently generate DistinctScans for multiple spans.
For efficiency, merge overlapping spans and remove DistinctScan for non-overlapping spans.
For IN and OR queries, we currently generate DistinctScans for multiple spans.
For efficiency, merge overlapping spans and remove DistinctScan for non-overlapping spans.