Skip to content

Commit

Permalink
rt
Browse files Browse the repository at this point in the history
  • Loading branch information
englefly committed Jul 3, 2024
1 parent 619f6fb commit 774a94b
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@
// under the License.

suite("push_down_limit_distinct_through_join") {
sql "SET enable_nereids_planner=true"
sql "set runtime_filter_mode=OFF"
sql "SET enable_fallback_to_original_planner=false"
sql "SET ignore_shape_nodes='PhysicalDistribute,PhysicalProject'"
sql "SET disable_join_reorder=true"
multi_sql """
SET enable_nereids_planner=true;
SET enable_fallback_to_original_planner=false;
set runtime_filter_mode=OFF;
SET ignore_shape_nodes='PhysicalDistribute,PhysicalProject';
SET ENABLE_NEREIDS_RULES=push_down_limit_distinct_through_join;
set push_topn_to_agg = true;
SET disable_join_reorder=true;
set topn_opt_limit_threshold=1024;
"""

sql """
DROP TABLE IF EXISTS t;
Expand Down Expand Up @@ -49,11 +54,6 @@ suite("push_down_limit_distinct_through_join") {
sql "insert into t values (9, 3, null)"
sql "insert into t values (10, null, null)"

multi_sql """
SET ENABLE_NEREIDS_RULES=push_down_limit_distinct_through_join;
set push_topn_to_agg = true;
"""

qt_basic """
explain shape plan (select id from t t1 union select id from t t2) limit 0, 200;
"""
Expand Down

0 comments on commit 774a94b

Please sign in to comment.