diff --git a/regression-test/data/nereids_rules_p0/agg_strategy/agg_strategy.out b/regression-test/data/nereids_rules_p0/agg_strategy/agg_strategy.out index 919d26620e92b0..8115545a6e791e 100644 --- a/regression-test/data/nereids_rules_p0/agg_strategy/agg_strategy.out +++ b/regression-test/data/nereids_rules_p0/agg_strategy/agg_strategy.out @@ -562,17 +562,6 @@ PhysicalResultSink --------hashAgg[GLOBAL] ----------PhysicalOlapScan[t_gbykey_2_dstkey_10_30_id] --- !agg_distinct_satisfy_dst_key_with_other_func_low_ndv -- -PhysicalResultSink ---PhysicalQuickSort[MERGE_SORT] -----PhysicalDistribute[DistributionSpecGather] -------PhysicalQuickSort[LOCAL_SORT] ---------hashAgg[DISTINCT_GLOBAL] -----------PhysicalDistribute[DistributionSpecHash] -------------hashAgg[DISTINCT_LOCAL] ---------------hashAgg[GLOBAL] -----------------PhysicalOlapScan[t_gbykey_2_dstkey_10_30_id] - -- !agg_distinct_without_gby_key_low_ndv -- PhysicalResultSink --hashAgg[DISTINCT_GLOBAL] @@ -727,17 +716,6 @@ PhysicalResultSink ----------hashAgg[GLOBAL] ------------PhysicalOlapScan[t_gbykey_2_dstkey_10_30_id] --- !agg_distinct_satisfy_dst_key_with_other_func_low_ndv -- -PhysicalResultSink ---PhysicalQuickSort[MERGE_SORT] -----PhysicalDistribute[DistributionSpecGather] -------PhysicalQuickSort[LOCAL_SORT] ---------hashAgg[DISTINCT_GLOBAL] -----------PhysicalDistribute[DistributionSpecHash] -------------hashAgg[DISTINCT_LOCAL] ---------------hashAgg[GLOBAL] -----------------PhysicalOlapScan[t_gbykey_2_dstkey_10_30_id] - -- !agg_distinct_without_gby_key_low_ndv -- PhysicalResultSink --hashAgg[DISTINCT_GLOBAL] diff --git a/regression-test/suites/nereids_rules_p0/agg_strategy/agg_strategy.groovy b/regression-test/suites/nereids_rules_p0/agg_strategy/agg_strategy.groovy index 858095107848d6..996fcac11fd467 100644 --- a/regression-test/suites/nereids_rules_p0/agg_strategy/agg_strategy.groovy +++ b/regression-test/suites/nereids_rules_p0/agg_strategy/agg_strategy.groovy @@ -126,7 +126,6 @@ suite("agg_strategy") { qt_agg_distinct_satisfy_dst_key_low_ndv "explain shape plan select count(distinct id) from t_gbykey_2_dstkey_10_30_id group by gby_key order by 1" qt_agg_distinct_with_gby_key_with_other_func_low_ndv "explain shape plan select count(distinct dst_key1), gby_key, sum(dst_key2), avg(dst_key2) from t_gbykey_2_dstkey_10_30_id group by gby_key order by 1,2,3,4" qt_agg_distinct_satisfy_gby_key_with_other_func_low_ndv "explain shape plan select count(distinct dst_key1), id, sum(dst_key2), avg(dst_key2) from t_gbykey_2_dstkey_10_30_id group by id order by 1,2,3,4" - qt_agg_distinct_satisfy_dst_key_with_other_func_low_ndv"explain shape plan select count(distinct id), sum(dst_key2), avg(dst_key2) from t_gbykey_2_dstkey_10_30_id group by gby_key order by 1,2,3" qt_agg_distinct_without_gby_key_low_ndv "explain shape plan select count(distinct dst_key1) from t_gbykey_2_dstkey_10_30_id" //use final multi_distinct + sum0 qt_agg_distinct_without_gby_key_satisfy_dst_key_low_ndv "explain shape plan select count(distinct id) from t_gbykey_2_dstkey_10_30_id"