Skip to content

Commit

Permalink
change to custom rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
feiniaofeiafei committed Dec 11, 2024
1 parent edb82de commit d420066
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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();
Expand All @@ -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();
Expand Down

0 comments on commit d420066

Please sign in to comment.