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

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


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new b06cf95e32c branch-3.0: [fix](regression)Fix paimon row count case. 
#45994 (#46005)
b06cf95e32c is described below

commit b06cf95e32c87336d675f3d09bb1c8e3443b674a
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Dec 26 15:55:52 2024 +0800

    branch-3.0: [fix](regression)Fix paimon row count case. #45994 (#46005)
    
    Cherry-picked from #45994
    
    Co-authored-by: James <lijib...@selectdb.com>
---
 .../suites/external_table_p0/paimon/test_paimon_table_stats.groovy | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git 
a/regression-test/suites/external_table_p0/paimon/test_paimon_table_stats.groovy
 
b/regression-test/suites/external_table_p0/paimon/test_paimon_table_stats.groovy
index bae158f66ee..9b66c0fda36 100644
--- 
a/regression-test/suites/external_table_p0/paimon/test_paimon_table_stats.groovy
+++ 
b/regression-test/suites/external_table_p0/paimon/test_paimon_table_stats.groovy
@@ -30,19 +30,20 @@ suite("test_paimon_table_stats", 
"p0,external,doris,external_docker,external_doc
                 "warehouse" = 
"hdfs://${externalEnvIp}:${hdfs_port}/user/doris/paimon1"
             );"""
 
-            def assert_stats = { table_name, cnt -> 
+            def assert_stats = { table_name, cnt ->
                 def retry = 0
                 def act = ""
                 while (retry < 10) {
                     def result = sql """ show table stats ${table_name} """
                     act = result[0][2]
-                    if (act != "-1") {
+                    logger.info("current table row count is " + act)
+                    if (!act.equals("-1")) {
                         break;
                     }
                     Thread.sleep(2000)
                     retry++
                 }
-                assertEquals(act, cnt)
+                assertEquals(cnt, act)
             }
 
             // select


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to