Skip to content

Apache DataFusion SQL Query Engine

Remove deprecated LogicalPlan::with_new_inputs function (#12285)

Piotr Findeisen4838cfbf453f
diff --git a/datafusion/expr/src/logical_plan/plan.rs b/datafusion/expr/src/logical_plan/plan.rs
index 5bd6ab1033..19be9143fd 100644
--- a/datafusion/expr/src/logical_plan/plan.rs
+++ b/datafusion/expr/src/logical_plan/plan.rs
@@ -602,12 +602,6 @@ impl LogicalPlan {
}
}
- /// Returns a copy of this `LogicalPlan` with the new inputs
- #[deprecated(since = "35.0.0", note = "please use `with_new_exprs` instead")]
- pub fn with_new_inputs(&self, inputs: &[LogicalPlan]) -> Result<LogicalPlan> {
- self.with_new_exprs(self.expressions(), inputs.to_vec())
- }
-
/// Recomputes schema and type information for this LogicalPlan if needed.
///
/// Some `LogicalPlan`s may need to recompute their schema if the number or