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 faeb9825226 branch-4.1: fix(regression): Make test_analyze_mv
row_count assertion stable after truncate #64419 (#64503)
faeb9825226 is described below
commit faeb9825226142b3e5d55048fc2b85f07808be0f
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Jun 16 14:04:56 2026 +0800
branch-4.1: fix(regression): Make test_analyze_mv row_count assertion
stable after truncate #64419 (#64503)
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]