Skip to content

Commit

Permalink
Clarify usecase in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed May 9, 2024
1 parent 4687d6d commit bd7b62f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions datafusion/expr/src/logical_plan/plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,11 @@ impl LogicalPlan {
/// expressions. For example [`LogicalPlan::Filter`] schema is always the
/// same as its input schema.
///
/// This is useful after modifying a plans `Expr`s (or input plans) via
/// methods such as [Self::map_children] and [Self::map_expressions]. Unlike
/// [Self::new_with_exprs], this method does not require a new set of
/// expressions or inputs plans.
///
/// # Return value
/// Returns an error if there is some issue recomputing the schema.
///
Expand Down

0 comments on commit bd7b62f

Please sign in to comment.