Skip to content

Commit

Permalink
branch-3.0: [fix](test) eager agg test use be num as 1 for stable shape
Browse files Browse the repository at this point in the history
#46558 (#46714)

Cherry-picked from #46558

Co-authored-by: morrySnow <zhangwenxin@selectdb.com>
  • Loading branch information
github-actions[bot] and morrySnow authored Jan 9, 2025
1 parent 5690eed commit 7d40874
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ suite("push_down_aggr_distinct_through_join_one_side_cust") {
sql "SET enable_nereids_planner=true"
sql "set runtime_filter_mode=OFF"
sql "SET enable_fallback_to_original_planner=false"
sql "set be_number_for_test=1"
sql "set DISABLE_NEREIDS_RULES='PRUNE_EMPTY_PARTITION, ELIMINATE_GROUP_BY_KEY_BY_UNIFORM'"

sql """
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ suite("push_down_count_distinct_through_join_one_side") {
sql "SET enable_nereids_planner=true"
sql "set runtime_filter_mode=OFF"
sql "SET enable_fallback_to_original_planner=false"
sql "set be_number_for_test=1"

sql """
DROP TABLE IF EXISTS count_with_distinct_t;
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ suite("push_down_count_through_join") {
sql "set runtime_filter_mode=OFF"
sql "SET enable_fallback_to_original_planner=false"
sql "SET ignore_shape_nodes='PhysicalDistribute,PhysicalProject'"
sql "set be_number_for_test=1"
sql "set DISABLE_NEREIDS_RULES='ONE_PHASE_AGGREGATE_WITHOUT_DISTINCT, ONE_PHASE_AGGREGATE_SINGLE_DISTINCT_TO_MULTI'"

sql """
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ suite("push_down_count_through_join_one_side") {
sql 'set be_number_for_test=3'
sql "SET enable_fallback_to_original_planner=false"
sql "SET ignore_shape_nodes='PhysicalDistribute,PhysicalProject'"
sql "set be_number_for_test=1"
sql "set DISABLE_NEREIDS_RULES='ONE_PHASE_AGGREGATE_WITHOUT_DISTINCT, ONE_PHASE_AGGREGATE_SINGLE_DISTINCT_TO_MULTI'"
sql """
DROP TABLE IF EXISTS count_t_one_side;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ suite("push_down_max_through_join") {
sql "set runtime_filter_mode=OFF"
sql "SET enable_fallback_to_original_planner=false"
sql "SET ignore_shape_nodes='PhysicalDistribute,PhysicalProject'"
sql "set be_number_for_test=1"
sql "set DISABLE_NEREIDS_RULES='ONE_PHASE_AGGREGATE_WITHOUT_DISTINCT, ONE_PHASE_AGGREGATE_SINGLE_DISTINCT_TO_MULTI'"

sql """
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ suite("push_down_min_distinct_through_join_one_side") {
sql "SET enable_nereids_planner=true"
sql "set runtime_filter_mode=OFF"
sql "SET enable_fallback_to_original_planner=false"
sql "set be_number_for_test=1"
sql """
DROP TABLE IF EXISTS min_with_distinct_t;
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ suite("push_down_min_through_join") {
sql "set runtime_filter_mode=OFF"
sql "SET enable_fallback_to_original_planner=false"
sql "SET ignore_shape_nodes='PhysicalDistribute,PhysicalProject'"
sql "set be_number_for_test=1"
sql "set DISABLE_NEREIDS_RULES='ONE_PHASE_AGGREGATE_WITHOUT_DISTINCT, ONE_PHASE_AGGREGATE_SINGLE_DISTINCT_TO_MULTI'"

sql """
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ suite("push_down_sum_distinct_through_join_one_side") {
sql "SET enable_nereids_planner=true"
sql "set runtime_filter_mode=OFF"
sql "SET enable_fallback_to_original_planner=false"
sql "set be_number_for_test=1"
sql """
DROP TABLE IF EXISTS sum_with_distinct_t;
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ suite("push_down_sum_through_join") {
sql "set runtime_filter_mode=OFF"
sql "SET enable_fallback_to_original_planner=false"
sql "SET ignore_shape_nodes='PhysicalDistribute,PhysicalProject'"
sql "set be_number_for_test=1"
sql "set DISABLE_NEREIDS_RULES='ONE_PHASE_AGGREGATE_WITHOUT_DISTINCT, ONE_PHASE_AGGREGATE_SINGLE_DISTINCT_TO_MULTI'"

sql """
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ suite("push_down_sum_through_join_one_side") {
sql "set runtime_filter_mode=OFF"
sql "SET enable_fallback_to_original_planner=false"
sql "SET ignore_shape_nodes='PhysicalDistribute,PhysicalProject'"
sql "set be_number_for_test=1"
sql "set DISABLE_NEREIDS_RULES='ONE_PHASE_AGGREGATE_WITHOUT_DISTINCT, ONE_PHASE_AGGREGATE_SINGLE_DISTINCT_TO_MULTI'"

sql """
Expand Down

0 comments on commit 7d40874

Please sign in to comment.