pub(crate) fn region_local_node(node: &dyn UserDefinedLogicalNode) -> boolExpand description
Whether node is a node the analyzer runs where the scan it reads is planned.
A region only ever runs a fused node over its own scan, and the analyzer puts one there by
classifying it as commutative - which is also the only placement a node over a bare scan has,
because a bare scan is never shipped across a region boundary. A planner that has to commit to
a plan before the analyzer runs asks this to know whether that placement exists: false says
every input of this node has to be a source that names its region.