Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-toth committed Apr 2, 2024
1 parent 0abb2c4 commit f223ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/expr/src/logical_plan/plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1336,6 +1336,7 @@ impl LogicalPlan {
self,
rewriter: &mut R,
) -> Result<Transformed<Self>> {
/// TODO: Can we use handle_transform_recursion or a similar macro?
let pre_visited = rewriter.f_down(self)?;
match pre_visited.tnr {
TreeNodeRecursion::Continue => pre_visited
Expand All @@ -1349,7 +1350,6 @@ impl LogicalPlan {
TreeNodeRecursion::Jump,
)
}),
#[allow(clippy::redundant_closure_call)]
TreeNodeRecursion::Jump => pre_visited
.data
.rewrite_subqueries(rewriter)?
Expand Down

0 comments on commit f223ee8

Please sign in to comment.