diff --git a/regression-test/data/nereids_rules_p0/push_down_top_n/push_down_top_n_distinct_through_join.out b/regression-test/data/nereids_rules_p0/push_down_top_n/push_down_top_n_distinct_through_join.out index 72452ed3c1..5c3ec397a9 100644 --- a/regression-test/data/nereids_rules_p0/push_down_top_n/push_down_top_n_distinct_through_join.out +++ b/regression-test/data/nereids_rules_p0/push_down_top_n/push_down_top_n_distinct_through_join.out @@ -5,7 +5,7 @@ PhysicalResultSink ----PhysicalTopN[LOCAL_SORT] ------hashAgg[GLOBAL] --------hashAgg[LOCAL] -----------NestedLoopJoin[LEFT_OUTER_JOIN](t1.id = t1.id) +----------hashJoin[LEFT_OUTER_JOIN] hashCondition=((t1.id = t2.id)) otherCondition=() ------------PhysicalTopN[MERGE_SORT] --------------PhysicalTopN[LOCAL_SORT] ----------------hashAgg[LOCAL] diff --git a/regression-test/suites/nereids_rules_p0/push_down_top_n/push_down_top_n_distinct_through_join.groovy b/regression-test/suites/nereids_rules_p0/push_down_top_n/push_down_top_n_distinct_through_join.groovy index 890e2ba897..3ee3a916e7 100644 --- a/regression-test/suites/nereids_rules_p0/push_down_top_n/push_down_top_n_distinct_through_join.groovy +++ b/regression-test/suites/nereids_rules_p0/push_down_top_n/push_down_top_n_distinct_through_join.groovy @@ -51,11 +51,11 @@ suite("push_down_top_n_distinct_through_join") { """ qt_push_down_topn_through_join """ - explain shape plan select distinct * from (select t1.id from table_join t1 left join table_join t2 on t1.id = t1.id) t order by id limit 10; + explain shape plan select distinct * from (select t1.id from table_join t1 left join table_join t2 on t1.id = t2.id) t order by id limit 10; """ qt_push_down_topn_through_join_data """ - select distinct * from (select t1.id from table_join t1 left join table_join t2 on t1.id = t1.id) t order by id limit 10; + select distinct * from (select t1.id from table_join t1 left join table_join t2 on t1.id = t2.id) t order by id limit 10; """ qt_push_down_topn_through_join """