From c2a3c25e7e3e6c5d336043648977eb61dc02a147 Mon Sep 17 00:00:00 2001 From: seawinde Date: Wed, 15 Nov 2023 20:04:31 +0800 Subject: [PATCH] add some comments --- .../doris/nereids/rules/exploration/mv/EquivalenceClass.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/EquivalenceClass.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/EquivalenceClass.java index 2d9880c23bcaa4..9e5c746de872a3 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/EquivalenceClass.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/EquivalenceClass.java @@ -56,11 +56,11 @@ public void addEquivalenceClass(SlotReference slot0, SlotReference slot1) { equivalenceSlotMap.put(newRef, slot0Sets); } } else if (slot0Sets != null) { - // p1 present, we need to merge into it + // slot0Sets present, we need to merge into it slot0Sets.add(slot1); equivalenceSlotMap.put(slot1, slot0Sets); } else if (slot1Sets != null) { - // p2 present, we need to merge into it + // slot1Sets present, we need to merge into it slot1Sets.add(slot0); equivalenceSlotMap.put(slot0, slot1Sets); } else {