A physical execution plan: stages in dependency order.
Arguments
- stages
List of Stage, indexed by stage id.
- sink
Id of the terminal stage.
- sinks
Named integer vector of requested sink NODE ids for
multi-export plans (empty for single-sink plans).
- graph
The IR Graph the plan was built from.