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 214f64ed24e [chore](variant) fix unstable variant_p0/load.groovy 
(#53201)
214f64ed24e is described below

commit 214f64ed24ebdcd61bc0e8a636789f51475df4fd
Author: lihangyu <[email protected]>
AuthorDate: Mon Jul 14 20:15:10 2025 +0800

    [chore](variant) fix unstable variant_p0/load.groovy (#53201)
---
 regression-test/data/variant_p0/load.out      | Bin 16085 -> 16081 bytes
 regression-test/suites/variant_p0/load.groovy |   4 +++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/regression-test/data/variant_p0/load.out 
b/regression-test/data/variant_p0/load.out
index 4d2799444ca..f20f7628cad 100644
Binary files a/regression-test/data/variant_p0/load.out and 
b/regression-test/data/variant_p0/load.out differ
diff --git a/regression-test/suites/variant_p0/load.groovy 
b/regression-test/suites/variant_p0/load.groovy
index 73b3ad56be2..c95d0acc356 100644
--- a/regression-test/suites/variant_p0/load.groovy
+++ b/regression-test/suites/variant_p0/load.groovy
@@ -238,7 +238,7 @@ suite("regression_test_variant", "p0"){
 
         // 12. jsonb values
         table_name = "jsonb_values"
-        create_table table_name
+        create_table.call(table_name, "DUPLICATE", "1")
         sql """insert into ${table_name} values (1, '{"a" : ["123", 123, 
[123]]}')"""
         // FIXME array -> jsonb will parse error
         // sql """insert into ${table_name} values (2, '{"a" : ["123"]}')"""
@@ -251,6 +251,8 @@ suite("regression_test_variant", "p0"){
         // sql """insert into ${table_name} values (8, '{"a" : [123, 
111........]}')"""
         sql """insert into ${table_name} values (9, '{"a" : [123, {"a" : 
1}]}')"""
         sql """insert into ${table_name} values (10, '{"a" : [{"a" : 1}, 
123]}')"""
+        sql "select v['a'] from ${table_name} order by k"
+        trigger_and_wait_compaction(table_name, "full")
         qt_sql_29 "select cast(v['a'] as string) from ${table_name} order by k"
         // b? 7.111  [123,{"xx":1}]  {"b":{"c":456,"e":7.111}}       456
         qt_sql_30 "select v['b']['e'], v['a'], v['b'], v['b']['c'] from 
jsonb_values where cast(v['b']['e'] as double) > 1;"


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

Reply via email to