pub fn subtree_hostable_variables(node: &PlanNode) -> Vec<Variable>Expand description
Collect every variable node can consume as a pushed allow-list key:
the hosted-variable set behind [probe_scan_has_key] — the same
push-transparent topology (Join / Union / LeftJoin / Filter / Extend /
Slice / Distinct / Sort / Group / JoinGraphVar crossed; SubSelect,
plugin children, Values, and the count nodes opaque) — gathered
instead of probed, so the runtime push gate (PushGate::Hostable)
consults one plan-time stamp instead of re-walking the subtree per
driver page. A scan contributes its live slot variables (S/P/O and
the graph slot), a custom op its declared outputs (the keyed regime
consumes pushed values directly). See the Join variant’s
rhs_hostable_keys field for the stamp’s contract.