From 486eeb6459e6f9bb7e6f0bc26166b038a1b5424f Mon Sep 17 00:00:00 2001 From: seawinde Date: Tue, 12 Dec 2023 21:54:57 +0800 Subject: [PATCH] code style fix --- .../doris/nereids/jobs/joinorder/hypergraph/HyperGraph.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/joinorder/hypergraph/HyperGraph.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/joinorder/hypergraph/HyperGraph.java index de3f1ce2c2793c..8c678c0d2c9a2e 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/joinorder/hypergraph/HyperGraph.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/joinorder/hypergraph/HyperGraph.java @@ -593,7 +593,7 @@ public int edgeSize() { * * @param viewHG the compared hyper graph * @return null represents not compatible, or return some expression which can - * be pull up from this hyper graph + * be pull up from this hyper graph */ public @Nullable List isLogicCompatible(HyperGraph viewHG, LogicalCompatibilityContext ctx) { Map queryToView = constructEdgeMap(viewHG, ctx.getQueryToViewEdgeExpressionMapping()); @@ -670,7 +670,7 @@ private boolean compareJoinEdge(JoinEdge t, JoinEdge o, Map no } boolean matched = false; if (t.getJoinType().swap().equals(o.getJoinType())) { - matched |= compareNodeMap(tRight, oLeft, nodeMap) && compareNodeMap(tLeft, oRight, nodeMap); + matched |= compareNodeMap(tRight, oLeft, nodeMap) && compareNodeMap(tLeft, oRight, nodeMap); } matched |= compareNodeMap(tLeft, oLeft, nodeMap) && compareNodeMap(tRight, oRight, nodeMap); return matched;