From 32f3621cf7b3bc651f9e30212cc6589578131989 Mon Sep 17 00:00:00 2001 From: feiniaofeiafei Date: Tue, 10 Dec 2024 21:41:39 +0800 Subject: [PATCH] fix code style --- .../java/org/apache/doris/nereids/jobs/executor/Rewriter.java | 2 +- .../org/apache/doris/nereids/rules/rewrite/DistinctSplit.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/executor/Rewriter.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/executor/Rewriter.java index 6bb86d6aa95537e..f80acacb790bb35 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/executor/Rewriter.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/executor/Rewriter.java @@ -53,10 +53,10 @@ import org.apache.doris.nereids.rules.rewrite.ColumnPruning; import org.apache.doris.nereids.rules.rewrite.ConvertInnerOrCrossJoin; import org.apache.doris.nereids.rules.rewrite.CountDistinctRewrite; -import org.apache.doris.nereids.rules.rewrite.DistinctSplit; import org.apache.doris.nereids.rules.rewrite.CountLiteralRewrite; import org.apache.doris.nereids.rules.rewrite.CreatePartitionTopNFromWindow; import org.apache.doris.nereids.rules.rewrite.DeferMaterializeTopNResult; +import org.apache.doris.nereids.rules.rewrite.DistinctSplit; import org.apache.doris.nereids.rules.rewrite.EliminateAggCaseWhen; import org.apache.doris.nereids.rules.rewrite.EliminateAggregate; import org.apache.doris.nereids.rules.rewrite.EliminateAssertNumRows; diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/DistinctSplit.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/DistinctSplit.java index d9de391fd4cf812..8ebbba0cd150f46 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/DistinctSplit.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/DistinctSplit.java @@ -181,7 +181,8 @@ private static LogicalProject constructProject(List groupBy, M return new LogicalProject<>(projects, join); } - private static LogicalJoin constructJoin(List> newAggs, List groupBy) { + private static LogicalJoin constructJoin(List> newAggs, + List groupBy) { LogicalJoin join; if (groupBy.isEmpty()) { join = new LogicalJoin<>(JoinType.CROSS_JOIN, newAggs.get(0), newAggs.get(1), null);