This is an automated email from the ASF dual-hosted git repository.
morrySnow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 0050f18c709 [fix](regression): stabilize
push_down_filter_through_set_operation_with_unique_function plan shape (#64516)
0050f18c709 is described below
commit 0050f18c7093d9423a88d1abf82084c3dff579b9
Author: yujun <[email protected]>
AuthorDate: Tue Jun 16 12:28:34 2026 +0800
[fix](regression): stabilize
push_down_filter_through_set_operation_with_unique_function plan shape (#64516)
## Problem
The regression test
`push_down_filter_through_set_operation_with_unique_function` in
`nereids_rules_p0/unique_function/` is unstable across different
pipeline environments.
When the cluster has only one pipeline executor (`parallel=1`),
`SplitAggWithoutDistinct` skips two-phase aggregation (introduced in
#63732), and `hashAgg[LOCAL]` is not generated. This causes the plan
shape to diverge from the expected output:
```
Expected: ------hashAgg[LOCAL]
Actual: ------PhysicalUnion
```
## Fix
Add `SET parallel_pipeline_task_num=2` to the test suite to lock
non-single-instance mode, ensuring `hashAgg[LOCAL]` is always generated
regardless of BE hardware.
## Related PR
- #62742
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <[email protected]>
---
.../push_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 c58c87e7e63..d3fc9cf40fe 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'
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]