This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 722551315ac Branch-3.0[pick](cases) fix variant cases (#55895)
722551315ac is described below
commit 722551315ac441ea29eea3256f67e5bcb4e193eb
Author: amory <[email protected]>
AuthorDate: Fri Sep 12 14:42:02 2025 +0800
Branch-3.0[pick](cases) fix variant cases (#55895)
### What problem does this PR solve?
backport: https://github.com/apache/doris/pull/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 b52ce79ff8b..3cfe0a44f31 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]