From d42006631af86c0a3ca2ea57a3626d3dfc46281f Mon Sep 17 00:00:00 2001 From: feiniaofeiafei Date: Wed, 11 Dec 2024 21:43:47 +0800 Subject: [PATCH] change to custom rewrite --- .../doris/nereids/rules/rewrite/DistinctSplitTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fe/fe-core/src/test/java/org/apache/doris/nereids/rules/rewrite/DistinctSplitTest.java b/fe/fe-core/src/test/java/org/apache/doris/nereids/rules/rewrite/DistinctSplitTest.java index f132afc5f4d81fc..41801abd352568b 100644 --- a/fe/fe-core/src/test/java/org/apache/doris/nereids/rules/rewrite/DistinctSplitTest.java +++ b/fe/fe-core/src/test/java/org/apache/doris/nereids/rules/rewrite/DistinctSplitTest.java @@ -60,7 +60,7 @@ void multiSumWithoutGby() { } @Test - void SumCountWithoutGby() { + void sumCountWithoutGby() { String sql = "select sum(distinct b), count(distinct a) from test_distinct_multi"; PlanChecker.from(connectContext).checkExplain(sql, planner -> { Plan plan = planner.getOptimizedPlan(); @@ -72,7 +72,7 @@ void SumCountWithoutGby() { } @Test - void CountMultiColumnsWithoutGby() { + void countMultiColumnsWithoutGby() { String sql = "select count(distinct b,c), count(distinct a,b) from test_distinct_multi"; PlanChecker.from(connectContext).checkExplain(sql, planner -> { Plan plan = planner.getOptimizedPlan(); @@ -84,7 +84,7 @@ void CountMultiColumnsWithoutGby() { } @Test - void CountMultiColumnsWithGby() { + void countMultiColumnsWithGby() { String sql = "select count(distinct b,c), count(distinct a,b) from test_distinct_multi group by d"; PlanChecker.from(connectContext).checkExplain(sql, planner -> { Plan plan = planner.getOptimizedPlan();