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

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


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new aa73299ac57 branch-3.1: [fix](cases) fix unstable variant case #54112 
(#54191)
aa73299ac57 is described below

commit aa73299ac5708dd2e328444e68d3f91018fbee96
Author: amory <[email protected]>
AuthorDate: Fri Aug 1 18:19:44 2025 +0800

    branch-3.1: [fix](cases) fix unstable variant case #54112 (#54191)
    
    picked from #54112
---
 regression-test/suites/variant_p0/nested/load.groovy | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/regression-test/suites/variant_p0/nested/load.groovy 
b/regression-test/suites/variant_p0/nested/load.groovy
index 36d1fdbe836..2aa2c8101da 100644
--- a/regression-test/suites/variant_p0/nested/load.groovy
+++ b/regression-test/suites/variant_p0/nested/load.groovy
@@ -35,7 +35,7 @@ suite("variant_nested_type_load", "p0"){
                     )
                     DUPLICATE KEY(`k`)
                     DISTRIBUTED BY HASH(k) BUCKETS 1 -- 1 bucket make really 
compaction in conflict case
-                    properties("replication_num" = "1", 
"disable_auto_compaction" = "false", "variant_enable_flatten_nested" = "true");
+                    properties("replication_num" = "1", 
"disable_auto_compaction" = "true", "variant_enable_flatten_nested" = "true");
                 """
             exception "If you want to enable variant flatten nested, please 
set session variable"
         }
@@ -50,7 +50,7 @@ suite("variant_nested_type_load", "p0"){
                     )
                     DUPLICATE KEY(`k`)
                     DISTRIBUTED BY HASH(k) BUCKETS 1 -- 1 bucket make really 
compaction in conflict case
-                    properties("replication_num" = "1", 
"disable_auto_compaction" = "false", "variant_enable_flatten_nested" = "true");
+                    properties("replication_num" = "1", 
"disable_auto_compaction" = "true", "variant_enable_flatten_nested" = "true");
                 """
         sql """ insert into ${table_name} values (1, '{"nested": [{"a": 1, 
"c": 1.1}, {"b": "1"}]}'); """ 
         
@@ -107,7 +107,7 @@ suite("variant_nested_type_load", "p0"){
                 )
                 DUPLICATE KEY(`k`)
                 DISTRIBUTED BY HASH(k) BUCKETS 1 -- 1 bucket make really 
compaction in conflict case
-                properties("replication_num" = "1", "disable_auto_compaction" 
= "false", "variant_enable_flatten_nested" = "true");
+                properties("replication_num" = "1", "disable_auto_compaction" 
= "true", "variant_enable_flatten_nested" = "true");
             """
         // insert a array of object for a, b, c first then insert structure 
conflict in one row
         // insert structure conflict in one row
@@ -152,7 +152,7 @@ suite("variant_nested_type_load", "p0"){
 
         // drop table
         sql """ drop table ${table_name_1} """
-        sql """ create table ${table_name_1} (k bigint, v 
variant<properties("variant_max_subcolumns_count" = "0")>) duplicate key(k) 
distributed by hash(k) buckets 1 properties("replication_num" = "1", 
"disable_auto_compaction" = "false", "variant_enable_flatten_nested" = "true") 
"""
+        sql """ create table ${table_name_1} (k bigint, v 
variant<properties("variant_max_subcolumns_count" = "0")>) duplicate key(k) 
distributed by hash(k) buckets 1 properties("replication_num" = "1", 
"disable_auto_compaction" = "true", "variant_enable_flatten_nested" = "true") 
"""
         // insert scalar data first then insert structure conflict in one row
         sql """
             insert into ${table_name_1} values (1, '{"nested": {"a": 2.5, "b": 
"123.1"}}');


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

Reply via email to