Module datafusion::physical_optimizer::enforcement
source · Expand description
Enforcement optimizer rules are used to make sure the plan’s Distribution and Ordering requirements are met by inserting necessary [RepartitionExec] and [SortExec].
Structs
BasicEnforcement rule, it ensures the Distribution and Ordering requirements are met
in the strictest way. It might add additional [RepartitionExec] to the plan tree
and give a non-optimal plan, but it can avoid the possible data skew in joins.