Skip to main content

is_empty_discovered_input

Function is_empty_discovered_input 

pub(crate) fn is_empty_discovered_input(plan: &LogicalPlan) -> bool
Expand description

Whether plan is the typed empty input a discovered selector that matched no table gets.

It reads no region and holds no scan, so it is not one of the tables a node’s binding is derived from: two selectors are “of one table” only if the tables they scan are one. The remote admission gate reads the same shape back, to tell a node with nothing to ship from one that does read regions, so the declared frame is part of the check: an empty relation that does not declare the raw explicit-label frame is some other plan, not this input.