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

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


The following commit(s) were added to refs/heads/master by this push:
     new 987a85c6e9 [FIX](regress_testcase)fix sync with stream load #19309
987a85c6e9 is described below

commit 987a85c6e95f9159a50f8e68b68c99ba43e43b3c
Author: amory <[email protected]>
AuthorDate: Sat May 6 10:03:02 2023 +0800

    [FIX](regress_testcase)fix sync with stream load #19309
    
    when query from slave node , here maybe can not select the stream load 
result , even the publish version is visible , so make a sync sql to enable 
result in slave node.
---
 .../suites/jsonb_p0/test_jsonb_load_unique_key_and_function.groovy       | 1 +
 .../suites/load_p0/stream_load/test_map_load_and_function.groovy         | 1 +
 2 files changed, 2 insertions(+)

diff --git 
a/regression-test/suites/jsonb_p0/test_jsonb_load_unique_key_and_function.groovy
 
b/regression-test/suites/jsonb_p0/test_jsonb_load_unique_key_and_function.groovy
index 7efec3dcbf..f52a287b3e 100644
--- 
a/regression-test/suites/jsonb_p0/test_jsonb_load_unique_key_and_function.groovy
+++ 
b/regression-test/suites/jsonb_p0/test_jsonb_load_unique_key_and_function.groovy
@@ -85,6 +85,7 @@ suite("test_jsonb_unique_load_and_function", "p0") {
         }
     }
 
+    sql "sync"
     // check result
     qt_select "SELECT * FROM ${testTable} ORDER BY id"
 
diff --git 
a/regression-test/suites/load_p0/stream_load/test_map_load_and_function.groovy 
b/regression-test/suites/load_p0/stream_load/test_map_load_and_function.groovy
index 19021d01d2..a83946fbef 100644
--- 
a/regression-test/suites/load_p0/stream_load/test_map_load_and_function.groovy
+++ 
b/regression-test/suites/load_p0/stream_load/test_map_load_and_function.groovy
@@ -62,6 +62,7 @@ suite("test_map_load_and_function", "p0") {
         }
     }
 
+    sql "sync"
     // check result
     qt_select_all "SELECT * FROM ${testTable} ORDER BY id"
 


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

Reply via email to