peter-toth commented on code in PR #9913:
URL: https://github.com/apache/arrow-datafusion/pull/9913#discussion_r1550218443
##########
datafusion/optimizer/src/analyzer/mod.rs:
##########
@@ -155,7 +155,7 @@ impl Analyzer {
/// Do necessary check and fail the invalid plan
fn check_plan(plan: &LogicalPlan) -> Result<()> {
- plan.apply(&mut |plan: &LogicalPlan| {
+ plan.apply_with_subqueries(&mut |plan: &LogicalPlan| {
Review Comment:
Basically I just moved the code of `LogicalPlan:: apply()` (that overrided
`TreeNode:: apply()`) to `LogicalPlan:: apply_with_subqueries()` and changed
the `LogicalPlan:: apply()` calls to `LogicalPlan:: apply_with_subqueries()`. I
updated the PR description to be clear.
--
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]