This is an automated email from the ASF dual-hosted git repository.
comphead pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new ff2d202224 Minor: Make `LogicalPlan::apply_subqueries` and
`LogicalPlan::apply_subqueries` pub (#9998)
ff2d202224 is described below
commit ff2d202224f5dc12b3a0a54e586174e30b8fa838
Author: Andrew Lamb <[email protected]>
AuthorDate: Tue Apr 9 11:40:46 2024 -0400
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 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>> {