pub fn validate_predicate( predicate: &Predicate, schema: &Schema, ) -> Result<(), PlanError>
Validates every predicate node against the collection schema before execution.