pub(crate) fn boundedness_from_children<'a>(
children: impl IntoIterator<Item = &'a Arc<dyn ExecutionPlan>>,
) -> BoundednessExpand description
Utility to determine an operator’s boundedness based on its children’s boundedness.
Assumes boundedness can be inferred from child operators:
- Unbounded (requires_infinite_memory: true) takes precedence.
- Unbounded (requires_infinite_memory: false) is considered next.
- Otherwise, the operator is bounded.
Note: This is a general-purpose utility and may not apply to all multi-child operators. Ensure your operator’s behavior aligns with these assumptions before using.