Skip to content

Commit ff2d202

Browse files
authored
Minor: Make LogicalPlan::apply_subqueries and LogicalPlan::apply_subqueries pub (#9998)
1 parent 57b2656 commit ff2d202

File tree

1 file changed

+2
-2
lines changed
  • datafusion/expr/src/logical_plan

1 file changed

+2
-2
lines changed

datafusion/expr/src/logical_plan/plan.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@ impl LogicalPlan {
14611461

14621462
/// Calls `f` on all subqueries referenced in expressions of the current
14631463
/// `LogicalPlan` node.
1464-
fn apply_subqueries<F: FnMut(&Self) -> Result<TreeNodeRecursion>>(
1464+
pub fn apply_subqueries<F: FnMut(&Self) -> Result<TreeNodeRecursion>>(
14651465
&self,
14661466
mut f: F,
14671467
) -> Result<TreeNodeRecursion> {
@@ -1484,7 +1484,7 @@ impl LogicalPlan {
14841484
/// using `f`.
14851485
///
14861486
/// Returns the current node.
1487-
fn map_subqueries<F: FnMut(Self) -> Result<Transformed<Self>>>(
1487+
pub fn map_subqueries<F: FnMut(Self) -> Result<Transformed<Self>>>(
14881488
self,
14891489
mut f: F,
14901490
) -> Result<Transformed<Self>> {

0 commit comments

Comments
 (0)