Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading