This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.1 by this push:
new 515030f65ab [fix](regression) wait for rollup before update test
(#65310)
515030f65ab is described below
commit 515030f65abb5fdfd0a66605a29f5f12f42f9b13
Author: shuke <[email protected]>
AuthorDate: Fri Jul 10 10:32:10 2026 +0800
[fix](regression) wait for rollup before update test (#65310)
## Summary
Fix `update_after_create_rollup` to wait for the rollup schema-change
job to finish before running partial update checks.
The case is intended to verify partial update correctness after a rollup
exists. A fixed `sleep(10000)` plus `EXPLAIN contains "rollup1"` can be
sensitive to async rollup completion and planner choice, while the
product behavior under test is covered by the following UPDATE result
assertions.
## Testing
- [x] `git diff --check`
- [ ] Not run the regression case locally; it requires a Doris
regression test environment.
---
.../nereids_p0/update/update_after_create_rollup.groovy | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git
a/regression-test/suites/nereids_p0/update/update_after_create_rollup.groovy
b/regression-test/suites/nereids_p0/update/update_after_create_rollup.groovy
index 1442e235742..d1dbaaaffe4 100644
--- a/regression-test/suites/nereids_p0/update/update_after_create_rollup.groovy
+++ b/regression-test/suites/nereids_p0/update/update_after_create_rollup.groovy
@@ -123,16 +123,7 @@ suite('update_after_create_rollup') {
sql """
ALTER TABLE mow_table ADD ROLLUP rollup1(event_date, event_time,
user_id, country, update_time)
"""
- sleep(10000)
- explain {
- sql('''
- SELECT event_date, country, count(*)
- FROM mow_table
- WHERE event_date = '2025-09-22'
- GROUP BY event_date, country
- ''')
- contains "rollup1"
- }
+ assertEquals("FINISHED", getAlterRollupFinalState("mow_table"))
// Test 1: UPDATE column not in rollup1 (city)
sql 'UPDATE mow_table SET city = "beijing" WHERE user_id = 2000'
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]