This is an automated email from the ASF dual-hosted git repository.

morrysnow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new e0518fd19d [fix](nereids)remove redundant visit call in Validator 
(#18103)
e0518fd19d is described below

commit e0518fd19d283d39ec7a0e08885693d321cbe13b
Author: starocean999 <[email protected]>
AuthorDate: Sat Mar 25 11:41:34 2023 +0800

    [fix](nereids)remove redundant visit call in Validator (#18103)
---
 .../main/java/org/apache/doris/nereids/processor/post/Validator.java    | 2 --
 1 file changed, 2 deletions(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/Validator.java
 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/Validator.java
index ef497fc7d2..57521c2066 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/Validator.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/Validator.java
@@ -60,7 +60,6 @@ public class Validator extends PlanPostProcessor {
             throw new AnalysisException("Nereids must merge a project-project 
plan");
         }
 
-        child.accept(this, context);
         return visit(project, context);
     }
 
@@ -76,7 +75,6 @@ public class Validator extends PlanPostProcessor {
                     "Nereids generate a filter-project plan, but backend not 
support:\n" + filter.treeString());
         }
 
-        child.accept(this, context);
         return visit(filter, context);
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to