From ff2d202224f5dc12b3a0a54e586174e30b8fa838 Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Tue, 9 Apr 2024 11:40:46 -0400 Subject: [PATCH] Minor: Make `LogicalPlan::apply_subqueries` and `LogicalPlan::apply_subqueries` pub (#9998) --- datafusion/expr/src/logical_plan/plan.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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> {