Skip to content

[fix](regression) stabilize colocate column order plan test#64940

Merged
hello-stephen merged 1 commit into
apache:masterfrom
shuke987:fix-colocate-column-order-stats
Jul 1, 2026
Merged

[fix](regression) stabilize colocate column order plan test#64940
hello-stephen merged 1 commit into
apache:masterfrom
shuke987:fix-colocate-column-order-stats

Conversation

@shuke987

@shuke987 shuke987 commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Proposed changes

Pin parallel_pipeline_task_num=1 in the three-table test_colocate_join_of_column_order explain query.

The case already waits for group_column_order3 to become stable, but Cloud P0 history still shows intermittent HAS_COLO_PLAN_NODE: false / INNER JOIN(PARTITIONED) after the wait. The detailed failures share the same plan shape: the first join is planned as a partitioned shuffle, so its output no longer keeps the NATURAL hash distribution needed by the second join's colocate check.

This is driven by physical-plan selection rather than statistics readiness. One sampled failure already executed ALTER TABLE ... SET STATS and still produced the same INNER JOIN(PARTITIONED) plan. Pinning parallel_pipeline_task_num=1 removes the bucket-shuffle downgrade nondeterminism while preserving the original colocate planner coverage.

Testing

  • git diff --check -- regression-test/suites/correctness_p0/test_colocate_join_of_column_order.groovy
  • Not run: Cloud P0 case rerun is still pending.

@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@shuke987 shuke987 force-pushed the fix-colocate-column-order-stats branch from 07032a5 to cc17f94 Compare June 29, 2026 09:14
@shuke987

Copy link
Copy Markdown
Collaborator Author

run buildall

@github-actions github-actions Bot added the approved Indicates a PR has been approved by one committer. label Jul 1, 2026
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

PR approved by at least one committer and no changes requested.

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@hello-stephen hello-stephen merged commit bec8d9f into apache:master Jul 1, 2026
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants