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

   ### What problem does this PR solve?
   
   Problem Summary:
   The `partition_curd_union_rewrite` test intermittently fails in `cloud_p0` 
CI because `mv_rewrite_success` calls after data modifications (insert/delete) 
do not pass `is_partition_statistics_ready`. Without this check, the function 
defaults to `true` and asserts that CBO chose the MV. In cloud mode, partition 
statistics propagation can be slower, so CBO may not select the MV, causing the 
test to fail.
   
   The first two `mv_rewrite_success` calls (before any DML) already pass 
`is_partition_statistics_ready` correctly. This fix applies the same pattern to 
the remaining six calls that follow insert/delete operations.
   
   **Observed failures:**
   - PR #62599 - cloud_p0 ❌
   - PR #62762 - cloud_p0 ❌
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test: Regression test (partition_curd_union_rewrite passes locally)
   - 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