From 98764d4a40489c9f361cbad689f9adf05542ce21 Mon Sep 17 00:00:00 2001 From: minghong Date: Fri, 9 Aug 2024 08:50:51 +0800 Subject: [PATCH] groupby_pushdown_multi_table_join_2 --- .../push_down_count_through_join.out | 33 ++++++++++--------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/regression-test/data/nereids_rules_p0/eager_aggregate/push_down_count_through_join.out b/regression-test/data/nereids_rules_p0/eager_aggregate/push_down_count_through_join.out index c22e779f919e9d..a7a0f422ee8d2a 100644 --- a/regression-test/data/nereids_rules_p0/eager_aggregate/push_down_count_through_join.out +++ b/regression-test/data/nereids_rules_p0/eager_aggregate/push_down_count_through_join.out @@ -320,12 +320,13 @@ PhysicalResultSink -- !groupby_pushdown_multi_table_join_2 -- PhysicalResultSink ---hashAgg[LOCAL] -----hashJoin[INNER_JOIN] hashCondition=((t1.name = t3.name)) otherCondition=() -------hashJoin[INNER_JOIN] hashCondition=((t1.id = t2.id)) otherCondition=() ---------PhysicalOlapScan[count_t] +--hashAgg[GLOBAL] +----hashAgg[LOCAL] +------hashJoin[INNER_JOIN] hashCondition=((t1.name = t3.name)) otherCondition=() +--------hashJoin[INNER_JOIN] hashCondition=((t1.id = t2.id)) otherCondition=() +----------PhysicalOlapScan[count_t] +----------PhysicalOlapScan[count_t] --------PhysicalOlapScan[count_t] -------PhysicalOlapScan[count_t] -- !groupby_pushdown_with_order_by -- PhysicalResultSink @@ -572,12 +573,13 @@ SyntaxError: -- !with_hint_groupby_pushdown_multi_table_join_1 -- PhysicalResultSink ---hashAgg[LOCAL] -----hashJoin[INNER_JOIN] hashCondition=((t1.name = t3.name)) otherCondition=() -------hashJoin[INNER_JOIN] hashCondition=((t1.id = t2.id)) otherCondition=() ---------PhysicalOlapScan[count_t] +--hashAgg[GLOBAL] +----hashAgg[LOCAL] +------hashJoin[INNER_JOIN] hashCondition=((t1.name = t3.name)) otherCondition=() +--------hashJoin[INNER_JOIN] hashCondition=((t1.id = t2.id)) otherCondition=() +----------PhysicalOlapScan[count_t] +----------PhysicalOlapScan[count_t] --------PhysicalOlapScan[count_t] -------PhysicalOlapScan[count_t] Hint log: Used: @@ -908,12 +910,13 @@ SyntaxError: -- !with_hint_groupby_pushdown_multi_table_join_2 -- PhysicalResultSink ---hashAgg[LOCAL] -----hashJoin[INNER_JOIN] hashCondition=((t1.name = t3.name)) otherCondition=() -------hashJoin[INNER_JOIN] hashCondition=((t1.id = t2.id)) otherCondition=() ---------PhysicalOlapScan[count_t] +--hashAgg[GLOBAL] +----hashAgg[LOCAL] +------hashJoin[INNER_JOIN] hashCondition=((t1.name = t3.name)) otherCondition=() +--------hashJoin[INNER_JOIN] hashCondition=((t1.id = t2.id)) otherCondition=() +----------PhysicalOlapScan[count_t] +----------PhysicalOlapScan[count_t] --------PhysicalOlapScan[count_t] -------PhysicalOlapScan[count_t] Hint log: Used: