Skip to content

Commit

Permalink
Minor: Make LogicalPlan::apply_subqueries and `LogicalPlan::apply_s…
Browse files Browse the repository at this point in the history
…ubqueries` pub (apache#9998)
  • Loading branch information
alamb authored Apr 9, 2024
1 parent 57b2656 commit ff2d202
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datafusion/expr/src/logical_plan/plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
Expand All @@ -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>> {
Expand Down

0 comments on commit ff2d202

Please sign in to comment.