Skip to main content

matching_operands_drop_key

Function matching_operands_drop_key 

Source
pub fn matching_operands_drop_key(root: &NativeNode) -> bool
Expand description

Whether matching operands can be segmented as independent single-source computations and at least one fails to preserve the requested key.

This is the key-change case the planner can handle by cutting the operands before matching. A failed preservation proof alone does not establish that a key was changed. The planner and input_locality share this predicate so that this admission rule cannot drift from locality.