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 6295bf269db branch-3.0: [fix](cases) fix case for 
test_struct_functions without order by #49247 (#49285)
6295bf269db is described below

commit 6295bf269dbae68eb1bb9b046457e6b41bc4386b
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Mar 20 14:09:33 2025 +0800

    branch-3.0: [fix](cases) fix case for test_struct_functions without order 
by #49247 (#49285)
    
    Cherry-picked from #49247
    
    Co-authored-by: amory <[email protected]>
---
 .../struct_functions/test_struct_functions.out        | Bin 1856 -> 1856 bytes
 .../struct_functions/test_struct_functions.groovy     |   4 ++--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/regression-test/data/query_p0/sql_functions/struct_functions/test_struct_functions.out
 
b/regression-test/data/query_p0/sql_functions/struct_functions/test_struct_functions.out
index 7c4078faaf2..42abf47a7e0 100644
Binary files 
a/regression-test/data/query_p0/sql_functions/struct_functions/test_struct_functions.out
 and 
b/regression-test/data/query_p0/sql_functions/struct_functions/test_struct_functions.out
 differ
diff --git 
a/regression-test/suites/query_p0/sql_functions/struct_functions/test_struct_functions.groovy
 
b/regression-test/suites/query_p0/sql_functions/struct_functions/test_struct_functions.groovy
index 64cccd81d09..e3581967a2a 100644
--- 
a/regression-test/suites/query_p0/sql_functions/struct_functions/test_struct_functions.groovy
+++ 
b/regression-test/suites/query_p0/sql_functions/struct_functions/test_struct_functions.groovy
@@ -53,6 +53,6 @@ suite("test_struct_functions") {
     sql """ create table if not exists t01 (a decimal(6,3), d 
struct<col:bigint, col1:decimal(7,2)>) properties ("replication_num"="1");"""
     sql """ insert into t01 values (123.321, named_struct('col', 1, 'col1', 
345.24));"""
     qt_sql_before """ select named_struct("col_11", a, "col_12", d) from t01; 
"""
-    sql """ insert into t01 values (123.321, named_struct('col', 1, 'col1', 
12345.24));"""
-    qt_sql_after """ select named_struct("col_11", a, "col_12", d) from t01; 
"""
+    sql """ insert into t01 values (123.331, named_struct('col', 1, 'col1', 
12345.24));"""
+    qt_sql_after """ select named_struct("col_11", a, "col_12", d) from t01 
order by a; """
 }


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

Reply via email to