[improve](test) fix regression test case report error when run times (#30531)

This commit is contained in:
zhangstar333
2024-02-01 18:57:04 +08:00
committed by yiguolei
parent c8b0840e6c
commit fd2d9ae63e
3 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@
\N
-- !select_percentile_array --
[1985.1999999999998, 1989, 20456.999999999989]
[255, 1989, 1991]
-- !select_array_product --
\N

View File

@ -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);")

View File

@ -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; """