diff --git a/datafusion/expr/src/logical_plan/invariants.rs b/datafusion/expr/src/logical_plan/invariants.rs index fb50fbe42e81..eb6e5f69efd5 100644 --- a/datafusion/expr/src/logical_plan/invariants.rs +++ b/datafusion/expr/src/logical_plan/invariants.rs @@ -62,6 +62,8 @@ pub enum InvariantLevel { } /// Apply the [`InvariantLevel::Always`] check at the current plan node only. +/// +/// This does not recurs to any child nodes. pub fn assert_always_invariants_at_current_node(plan: &LogicalPlan) -> Result<()> { // Refer to assert_unique_field_names(plan)?;