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

eldenmoon 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 da8df54e4cb [fix](cases) fix unstable variant case (#54112)
da8df54e4cb is described below

commit da8df54e4cb75064de6cb273a0a398727518215e
Author: amory <[email protected]>
AuthorDate: Thu Jul 31 22:55:13 2025 +0800

    [fix](cases) fix unstable variant case (#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 0fee39d4b3d..9333099a23c 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) 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) 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