[fix](regression): stabilize push_down_filter_through_set_operation_with_unique_function plan shape#64516
Open
yujun777 wants to merge 1 commit into
Open
Conversation
…h_unique_function shape Set parallel_pipeline_task_num=2 to avoid single-instance optimization (b1112e5) 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: apache#62742 Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
Author
|
run buildall |
Contributor
Author
|
run nonConcurrent |
1 similar comment
Contributor
Author
|
run nonConcurrent |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The regression test
push_down_filter_through_set_operation_with_unique_functioninnereids_rules_p0/unique_function/is unstable across different pipeline environments.When the cluster has only one pipeline executor (
parallel=1),SplitAggWithoutDistinctskips two-phase aggregation (introduced in #63732), andhashAgg[LOCAL]is not generated. This causes the plan shape to diverge from the expected output:Fix
Add
SET parallel_pipeline_task_num=2to the test suite to lock non-single-instance mode, ensuringhashAgg[LOCAL]is always generated regardless of BE hardware.Related PR
🤖 Generated with Claude Code