morrySnow commented on code in PR #57343:
URL: https://github.com/apache/doris/pull/57343#discussion_r2485239885
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/StructInfo.java:
##########
@@ -453,23 +452,15 @@ public String toString() {
return "StructInfo{ originalPlanId = " + originalPlanId + ", relations
= " + relations + '}';
}
- private static class RelationCollector extends DefaultPlanVisitor<Void,
List<CatalogRelation>> {
- @Override
- public Void visit(Plan plan, List<CatalogRelation> collectedRelations)
{
- if (plan instanceof CatalogRelation) {
- collectedRelations.add((CatalogRelation) plan);
- }
- return super.visit(plan, collectedRelations);
- }
- }
-
private static class PredicateCollector extends DefaultPlanVisitor<Void,
Set<Expression>> {
@Override
public Void visit(Plan plan, Set<Expression> predicates) {
// Just collect the filter in top plan, if meet other node except
project and filter, return
Review Comment:
nit: update this comment
--
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]