Expand description
The GlobalOrderRequire optimizer rule either:
- Adds an auxiliary
OutputRequirementExec
operator to keep track of global ordering and distribution requirement across rules, or - Removes the auxiliary
OutputRequirementExec
operator from the physical plan. Since theOutputRequirementExec
operator is only a helper operator, it shouldn’t occur in the final plan (i.e. the executed plan).
Structs§
- An ancillary, non-executable operator whose sole purpose is to track global requirements during optimization. It imposes
- This rule either adds or removes
OutputRequirements
s to/from the physical plan according to itsmode
attribute, which is set by the constructorsnew_add_mode
andnew_remove_mode
. With this rule, we can keep track of the global requirements (ordering and distribution) across rules.