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 26e3963e44..0d83f2238a 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 a18fbb4d40..4d74238218 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 823a73e700..f119b6637d 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; """