diff --git a/datafusion/expr/src/logical_plan/plan.rs b/datafusion/expr/src/logical_plan/plan.rs index 7ea1324d9052..02d65973a50b 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 Result>( + pub fn apply_subqueries Result>( &self, mut f: F, ) -> Result { @@ -1484,7 +1484,7 @@ impl LogicalPlan { /// using `f`. /// /// Returns the current node. - fn map_subqueries Result>>( + pub fn map_subqueries Result>>( self, mut f: F, ) -> Result> {