This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new cf09a31290e branch-4.0: fix(regression): Make test_analyze_mv
row_count assertion stable after truncate #64419 (#64501)
cf09a31290e is described below
commit cf09a31290e2a434176699d107564dc952f21f97
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Jun 30 18:06:10 2026 +0800
branch-4.0: fix(regression): Make test_analyze_mv row_count assertion
stable after truncate #64419 (#64501)
Cherry-picked from #64419
Co-authored-by: yujun <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
---
regression-test/suites/statistics/test_analyze_mv.groovy | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/regression-test/suites/statistics/test_analyze_mv.groovy
b/regression-test/suites/statistics/test_analyze_mv.groovy
index 67dab8de2ec..fc4949c5632 100644
--- a/regression-test/suites/statistics/test_analyze_mv.groovy
+++ b/regression-test/suites/statistics/test_analyze_mv.groovy
@@ -611,7 +611,8 @@ suite("test_analyze_mv") {
assertEquals("mvTestDup", result_row[0][0])
assertEquals("mv3", result_row[0][1])
assertEquals("0", result_row[0][3])
- assertEquals("-1", result_row[0][4])
+ assertTrue(result_row[0][4] == "-1" || result_row[0][4] == "0",
+ "Expected row_count to be -1 or 0 after truncate, but got:
${result_row[0][4]}")
// ** Embedded test for skip auto analyze when table is empty
sql """analyze table mvTestDup properties ("use.auto.analyzer" = "true")"""
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]