Apache DataFusion SQL Query Engine
Minor: Make `LogicalPlan::apply_subqueries` and `LogicalPlan::apply_subqueries` pub (#9998)
Andrew Lambff2d202224f5
diff --git a/datafusion/expr/src/logical_plan/plan.rs b/datafusion/expr/src/logical_plan/plan.rsindex 7ea1324d90..02d65973a5 100644--- a/datafusion/expr/src/logical_plan/plan.rs+++ b/datafusion/expr/src/logical_plan/plan.rs@@ -1461,7 +1461,7 @@ impl LogicalPlan {/// Calls `f` on all subqueries referenced in expressions of the current/// `LogicalPlan` node.- fn apply_subqueries<F: FnMut(&Self) -> Result<TreeNodeRecursion>>(+ pub fn apply_subqueries<F: FnMut(&Self) -> Result<TreeNodeRecursion>>(&self,mut f: F,) -> Result<TreeNodeRecursion> {@@ -1484,7 +1484,7 @@ impl LogicalPlan {/// using `f`.////// Returns the current node.- fn map_subqueries<F: FnMut(Self) -> Result<Transformed<Self>>>(+ pub fn map_subqueries<F: FnMut(Self) -> Result<Transformed<Self>>>(self,mut f: F,) -> Result<Transformed<Self>> {