This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
     new 3397b0ae78 [branch-1.2](fix) fix p0 case
3397b0ae78 is described below

commit 3397b0ae7842243dd7ea0f733b337dbc1ef1bb7c
Author: morningman <[email protected]>
AuthorDate: Thu Mar 9 23:58:30 2023 +0800

    [branch-1.2](fix) fix p0 case
---
 regression-test/suites/query_p0/aggregate/aggregate.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/regression-test/suites/query_p0/aggregate/aggregate.groovy 
b/regression-test/suites/query_p0/aggregate/aggregate.groovy
index 491f969729..0d2ac9afcc 100644
--- a/regression-test/suites/query_p0/aggregate/aggregate.groovy
+++ b/regression-test/suites/query_p0/aggregate/aggregate.groovy
@@ -293,7 +293,7 @@ suite("aggregate") {
     qt_aggregate32"select k1, k2 from (select k1, max(k2) as k2 from 
tempbaseall where k1 > 0 group by k1 order by k1)a where k1 > 0 and k1 < 10 
order by k1;"
 
     explain {
-        sql("select /*+ 
SET_VAR(DISABLE_NEREIDS_RULES=\"ONE_PHASE_AGGREGATE_WITHOUT_DISTINCT\") */ 
count(*) from (select t2.c_bigint, t2.c_double, t2.c_string from (select 
c_bigint, c_double, c_string, c_date,c_timestamp, c_short_decimal from 
regression_test_query_p0_aggregate.${tableName}) t2)t1")
+        sql("select count(*) from (select t2.c_bigint, t2.c_double, 
t2.c_string from (select c_bigint, c_double, c_string, c_date,c_timestamp, 
c_short_decimal from regression_test_query_p0_aggregate.${tableName}) t2)t1")
         contains "pushAggOp=COUNT"
     }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to