morrySnow opened a new pull request, #64361:
URL: https://github.com/apache/doris/pull/64361

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: None
   
   Problem Summary:
   
   Colocate join plan assertions may run before 
`ColocateTableCheckerAndBalancer` marks the colocate group stable. In that 
state, Nereids can omit `COLOCATE` from the plan and make otherwise correct 
regression cases fail intermittently.
   
   This PR adds a shared `waitForColocateGroupStable` helper to the regression 
test framework. It polls `SHOW PROC '/colocation_group'` until the target 
group's `IsStable` value is true, and fails on timeout. All positive `COLOCATE` 
plan assertions backed by explicit `colocate_with` groups now wait for 
stability first. The existing backup/restore-local waiting closure is replaced 
with the shared helper.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test: Regression test
       - `./run-regression-test.sh --clean --run -d correctness_p0 -s 
test_colocate_join_of_column_order`
       - `./run-regression-test.sh --run -d query_p0/join -s 
colocate_join_with_rollup`
   - Behavior changed: No
   - Does this need documentation: No
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to