You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by kx...@apache.org on 2023/07/09 15:05:01 UTC

[doris] 04/06: [test](fix) Case bug (#21518)

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

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

commit 9d936101bed0e2e25fe0fe75a388a0686142a33a
Author: shuke <37...@users.noreply.github.com>
AuthorDate: Sun Jul 9 16:52:40 2023 +0800

    [test](fix) Case bug (#21518)
    
    * add sync after streamLoad
---
 .../suites/correctness/test_dup_table_without_keys_load.groovy        | 1 +
 .../aggregate_functions/test_aggregate_all_functions.groovy           | 1 +
 .../suites/query_p0/aggregate/push_filter_through_agg.groovy          | 4 +++-
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/regression-test/suites/correctness/test_dup_table_without_keys_load.groovy b/regression-test/suites/correctness/test_dup_table_without_keys_load.groovy
index d4515f8acd..f39f8c84a6 100644
--- a/regression-test/suites/correctness/test_dup_table_without_keys_load.groovy
+++ b/regression-test/suites/correctness/test_dup_table_without_keys_load.groovy
@@ -102,6 +102,7 @@ suite("test_dup_table_without_keys_load") {
         // stream load action will check result, include Success status, and NumberTotalRows == NumberLoadedRows
     }
 
+    sql """sync"""
     test {
         sql """
             SELECT * FROM test_dup_table_without_keys_load;
diff --git a/regression-test/suites/nereids_p0/sql_functions/aggregate_functions/test_aggregate_all_functions.groovy b/regression-test/suites/nereids_p0/sql_functions/aggregate_functions/test_aggregate_all_functions.groovy
index e5ce8db863..2c1553adef 100644
--- a/regression-test/suites/nereids_p0/sql_functions/aggregate_functions/test_aggregate_all_functions.groovy
+++ b/regression-test/suites/nereids_p0/sql_functions/aggregate_functions/test_aggregate_all_functions.groovy
@@ -532,6 +532,7 @@ suite("test_aggregate_all_functions") {
         inputIterator rows.iterator()
     }
 
+    sql """sync"""
     qt_select48 """select dt, id, quantile_percent(quantile_union(price), 0) from ${tableName_21} group by dt, id order by dt, id"""
 
     qt_select49 """select dt, id, quantile_percent(quantile_union(price), 0.5) from ${tableName_21} group by dt, id order by dt, id"""
diff --git a/regression-test/suites/query_p0/aggregate/push_filter_through_agg.groovy b/regression-test/suites/query_p0/aggregate/push_filter_through_agg.groovy
index 82ee73c4f2..e3425dea1b 100644
--- a/regression-test/suites/query_p0/aggregate/push_filter_through_agg.groovy
+++ b/regression-test/suites/query_p0/aggregate/push_filter_through_agg.groovy
@@ -16,6 +16,8 @@
 // under the License.
 
 suite("push_filter_through_agg") {
+    sql """DROP TABLE IF EXISTS t_push_filter_through_agg"""
+    sql """DROP VIEW IF EXISTS view_i"""
     sql """
         CREATE TABLE t_push_filter_through_agg (col1 varchar(11451) not null, col2 int not null, col3 int not null)
         UNIQUE KEY(col1)
@@ -56,4 +58,4 @@ suite("push_filter_through_agg") {
      qt_sql """
          SELECT SUM(`col2`) FROM view_i WHERE `col1` BETWEEN 10 AND 20 LIMIT 1;
      """
-}
\ No newline at end of file
+}


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