peter-toth opened a new pull request, #13589: URL: https://github.com/apache/datafusion/pull/13589
## Which issue does this PR close? Part of https://github.com/apache/datafusion/issues/8913. ## Rationale for this change `LogicalPlan::..._with_subqueries()` methods don't handle correctly if an `f_down` closure/method returns `TreeNodeRecursion::Jump`. Currently if `TreeNodeRecursion::Jump` is returned then the node's subquery expression plans are not visited but the node's children are. ## What changes are included in this PR? This PR fixes `LogicalPlan::_with_subqueries()` behaviour and when `TreeNodeRecursion::Jump` is returned neither the node's subquery expression plans nor the node's children are visited. ## Are these changes tested? Yes, added new tests. ## Are there any user-facing changes? No. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
