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

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


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 7d4ff34d1f6 [fix](regression) fix test_primary_key_simple_case 
(#38798) (#38844)
7d4ff34d1f6 is described below

commit 7d4ff34d1f61ef91faec89417dfd8aa0c145f153
Author: meiyi <[email protected]>
AuthorDate: Mon Aug 5 16:32:41 2024 +0800

    [fix](regression) fix test_primary_key_simple_case (#38798) (#38844)
    
    pick https://github.com/apache/doris/pull/38798
---
 .../unique_with_mow_p0/cluster_key/test_primary_key_simple_case.groovy  | 2 +-
 .../suites/unique_with_mow_p0/test_primary_key_simple_case.groovy       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/regression-test/suites/unique_with_mow_p0/cluster_key/test_primary_key_simple_case.groovy
 
b/regression-test/suites/unique_with_mow_p0/cluster_key/test_primary_key_simple_case.groovy
index 788f934fdf0..39efc150e7f 100644
--- 
a/regression-test/suites/unique_with_mow_p0/cluster_key/test_primary_key_simple_case.groovy
+++ 
b/regression-test/suites/unique_with_mow_p0/cluster_key/test_primary_key_simple_case.groovy
@@ -66,7 +66,7 @@ suite("test_primary_key_simple_case") {
             (5, '2017-10-01', 'Beijing', 10, 1, NULL, NULL, '2020-01-05', 1, 
34, 20)
         """
 
-    result = sql """ SELECT * FROM ${tableName} t ORDER BY user_id; """
+    def result = sql """ SELECT * FROM ${tableName} t ORDER BY user_id; """
     assertTrue(result.size() == 5)
     assertTrue(result[0].size() == 11)
 
diff --git 
a/regression-test/suites/unique_with_mow_p0/test_primary_key_simple_case.groovy 
b/regression-test/suites/unique_with_mow_p0/test_primary_key_simple_case.groovy
index a2e351372e3..91d1da9162c 100644
--- 
a/regression-test/suites/unique_with_mow_p0/test_primary_key_simple_case.groovy
+++ 
b/regression-test/suites/unique_with_mow_p0/test_primary_key_simple_case.groovy
@@ -62,7 +62,7 @@ suite("test_primary_key_simple_case") {
             (5, '2017-10-01', 'Beijing', 10, 1, NULL, NULL, '2020-01-05', 1, 
34, 20)
         """
 
-    result = sql """ SELECT * FROM ${tableName} t ORDER BY user_id; """
+    def result = sql """ SELECT * FROM ${tableName} t ORDER BY user_id; """
     assertTrue(result.size() == 5)
     assertTrue(result[0].size() == 11)
 


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

Reply via email to