Skip to content

Commit 53b5690

Browse files
committed
add comment
1 parent a4d5360 commit 53b5690

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

datafusion/expr/src/utils.rs

+3
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,9 @@ where
724724
/// // create new plan using rewritten_exprs in same position
725725
/// let new_plan = from_plan(&plan, rewritten_exprs, new_inputs);
726726
/// ```
727+
///
728+
/// Notice: sometimes [from_plan] will use schema of original plan, it don't change schema!
729+
/// Such as `Projection/Aggregate/Window`
727730
pub fn from_plan(
728731
plan: &LogicalPlan,
729732
expr: &[Expr],

0 commit comments

Comments
 (0)