Class IntersectReorderRule

All Implemented Interfaces:
SubstitutionRule, TransformationRule

@Enclosing public class IntersectReorderRule extends RelRule<IntersectReorderRule.Config> implements SubstitutionRule
Planner rule that reorders inputs of an Intersect to put smaller inputs first. This helps reduce the size of intermediate results.

Intersect(A, B, ...) where B is smallest will reorder to Intersect(B, A, ...)