[fix](Nereids): fix wrong regression test (#30520)

This commit is contained in:
jakevin
2024-01-30 14:26:25 +08:00
committed by yiguolei
parent b7c86d66fa
commit 12827ceb16
2 changed files with 3 additions and 3 deletions

View File

@ -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]

View File

@ -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 """