Module ensure_coop

Module ensure_coop 

Source
Expand description

The EnsureCooperative optimizer rule inspects the physical plan to find all portions of the plan that will not yield cooperatively. It will insert CooperativeExec nodes where appropriate to ensure execution plans always yield cooperatively.

Structsยง

EnsureCooperative
EnsureCooperative is a PhysicalOptimizerRule that inspects the physical plan for sub plans that do not participate in cooperative scheduling. The plan is subdivided into sub plans on eager evaluation boundaries. Leaf nodes and eager evaluation roots are checked to see if they participate in cooperative scheduling. Those that do no are wrapped in a CooperativeExec parent.