From c19a88216d22438e14c164a1cba64c852c09ade2 Mon Sep 17 00:00:00 2001 From: yujun Date: Mon, 15 Jun 2026 15:28:15 +0800 Subject: [PATCH] fix(regression): stabilize push_down_filter_through_set_operation_with_unique_function shape Set parallel_pipeline_task_num=2 to avoid single-instance optimization (b1112e5dbdc) that skips two-phase aggregation on low-core BE clusters. When parallel=1 on a single-BE cluster, isSingleExecutionInstance returns true and hashAgg[LOCAL] is not generated, causing the plan shape to diverge from the expected output. Related PR: #62742 Co-Authored-By: Claude --- ...down_filter_through_set_operation_with_unique_function.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/regression-test/suites/nereids_rules_p0/unique_function/push_down_filter_through_set_operation_with_unique_function.groovy b/regression-test/suites/nereids_rules_p0/unique_function/push_down_filter_through_set_operation_with_unique_function.groovy index c58c87e7e635a7..d3fc9cf40fe4f5 100644 --- a/regression-test/suites/nereids_rules_p0/unique_function/push_down_filter_through_set_operation_with_unique_function.groovy +++ b/regression-test/suites/nereids_rules_p0/unique_function/push_down_filter_through_set_operation_with_unique_function.groovy @@ -19,6 +19,7 @@ suite('push_down_filter_through_set_operation_with_unique_function') { sql 'SET enable_nereids_planner=true' sql 'SET runtime_filter_mode=OFF' sql 'SET enable_fallback_to_original_planner=false' + sql 'SET parallel_pipeline_task_num=2' sql "SET ignore_shape_nodes='PhysicalDistribute'" sql "SET detail_shape_nodes='PhysicalProject'" sql 'SET disable_nereids_rules=PRUNE_EMPTY_PARTITION'