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 7c4078faaf2d71..42abf47a7e0b3e 100644 --- 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 @@ -44,5 +44,5 @@ NULL null \N -- !sql_after -- {"col_11":123.321, "col_12":{"col":1, "col1":345.24}} -{"col_11":123.321, "col_12":{"col":1, "col1":12345.24}} +{"col_11":123.331, "col_12":{"col":1, "col1":12345.24}} 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 64cccd81d09658..e3581967a2a6a9 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) 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; """ }