This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-4.2
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-4.2 by this push:
     new 11c41fc1c3d branch-4.2: [fix](regression) Wait for row counts before 
analyzing count rollup tables #70652 (#70703)
11c41fc1c3d is described below

commit 11c41fc1c3da7a000b6859802e7aac827f09bc78
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Nov 23 08:21:30 2026 +0800

    branch-4.2: [fix](regression) Wait for row counts before analyzing count 
rollup tables #70652 (#70703)
    
    Cherry-picked from #70652
    
    Co-authored-by: yujun <[email protected]>
---
 .../mv/count_rollup_empty_input/count_rollup_empty_input.groovy       | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/regression-test/suites/nereids_rules_p0/mv/count_rollup_empty_input/count_rollup_empty_input.groovy
 
b/regression-test/suites/nereids_rules_p0/mv/count_rollup_empty_input/count_rollup_empty_input.groovy
index 15f3e011cc4..77d4f0fc08b 100644
--- 
a/regression-test/suites/nereids_rules_p0/mv/count_rollup_empty_input/count_rollup_empty_input.groovy
+++ 
b/regression-test/suites/nereids_rules_p0/mv/count_rollup_empty_input/count_rollup_empty_input.groovy
@@ -45,6 +45,10 @@ suite("count_rollup_empty_input") {
     sql "REFRESH MATERIALIZED VIEW rollup_empty_mv COMPLETE"
     waitingMTMVTaskFinishedByMvName("rollup_empty_mv")
 
+    // Wait for asynchronous row count reporting before collecting optimizer 
statistics.
+    waitRowCountReady(db, "rollup_empty_base", 3)
+    waitRowCountReady(db, "rollup_empty_mv", 2)
+
     sql "ANALYZE TABLE rollup_empty_base WITH SYNC"
     sql "ANALYZE TABLE rollup_empty_mv WITH SYNC"
 


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

Reply via email to