[fix](nereids)remove redundant visit call in Validator (#18103)

This commit is contained in:
starocean999
2023-03-25 11:41:34 +08:00
committed by GitHub
parent 1164611393
commit e0518fd19d

View File

@ -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);
}