This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch branch-2.1 in repository https://gitbox.apache.org/repos/asf/doris.git
commit fd2d9ae63e1532d87541ce6d4b7d76ac22cfbfa7 Author: zhangstar333 <[email protected]> AuthorDate: Thu Feb 1 18:57:04 2024 +0800 [improve](test) fix regression test case report error when run times (#30531) --- .../sql_functions/aggregate_functions/test_aggregate_all_functions2.out | 2 +- regression-test/suites/javaudf_p0/test_javaudf_int.groovy | 2 +- .../aggregate_functions/test_aggregate_all_functions2.groovy | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/regression-test/data/query_p0/sql_functions/aggregate_functions/test_aggregate_all_functions2.out b/regression-test/data/query_p0/sql_functions/aggregate_functions/test_aggregate_all_functions2.out index 26e3963e441..0d83f2238a9 100644 --- a/regression-test/data/query_p0/sql_functions/aggregate_functions/test_aggregate_all_functions2.out +++ b/regression-test/data/query_p0/sql_functions/aggregate_functions/test_aggregate_all_functions2.out @@ -48,7 +48,7 @@ \N -- !select_percentile_array -- -[1985.1999999999998, 1989, 20456.999999999989] +[255, 1989, 1991] -- !select_array_product -- \N diff --git a/regression-test/suites/javaudf_p0/test_javaudf_int.groovy b/regression-test/suites/javaudf_p0/test_javaudf_int.groovy index a18fbb4d40b..4d74238218d 100644 --- a/regression-test/suites/javaudf_p0/test_javaudf_int.groovy +++ b/regression-test/suites/javaudf_p0/test_javaudf_int.groovy @@ -123,7 +123,7 @@ suite("test_javaudf_int") { qt_select_global_4 """ SELECT abs(java_udf_int_test_global(3)) result FROM ${tableName} ORDER BY result; """ } finally { - try_sql("DROP GLOBAL FUNCTION IF EXISTS java_udf_int_test_global(tinyint);") + try_sql("DROP GLOBAL FUNCTION IF EXISTS java_udf_int_test_global(int);") try_sql("DROP FUNCTION IF EXISTS java_udf_tinyint_test(tinyint);") try_sql("DROP FUNCTION IF EXISTS java_udf_smallint_test(smallint);") try_sql("DROP FUNCTION IF EXISTS java_udf_bigint_test(bigint);") diff --git a/regression-test/suites/query_p0/sql_functions/aggregate_functions/test_aggregate_all_functions2.groovy b/regression-test/suites/query_p0/sql_functions/aggregate_functions/test_aggregate_all_functions2.groovy index 823a73e700d..f119b6637dd 100644 --- a/regression-test/suites/query_p0/sql_functions/aggregate_functions/test_aggregate_all_functions2.groovy +++ b/regression-test/suites/query_p0/sql_functions/aggregate_functions/test_aggregate_all_functions2.groovy @@ -67,7 +67,7 @@ suite("test_aggregate_all_functions2") { qt_select_intersect_count_1 """ select intersect_count(bitmap_from_array(array(1,2,3,4,5)),cast(k1 as string),1,2) from baseall; """ qt_select_intersect_count_2 """ select intersect_count(bitmap_from_array(array(1,2,3,4,5)),k1,1,2) from baseall; """ qt_select_percentile_approx1 """ select percentile_approx(k2,10001) from baseall; """ - qt_select_percentile_array """ select percentile_array(k2,[0.3,0.5,0.9]) from baseall; """ + qt_select_percentile_array """ select percentile_array(k2,[0.2,0.5,0.7]) from baseall; """ qt_select_array_product """ select array_product(array(cast(k5 as decimalv3(30,10)))) from baseall order by k1; """ qt_select_quantile_percent """ select QUANTILE_PERCENT(QUANTILE_UNION(TO_QUANTILE_STATE(k1,2048)),0.5) from baseall; """ qt_select_sum """ select sum(cast(k5 as decimalv3(38,18))) from baseall; """ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
