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 4acf8fbaaa3 branch-3.0: [regression-test](case) fix percentile case #47359 (#47394) 4acf8fbaaa3 is described below commit 4acf8fbaaa397163a141be14dec2f54360ed4426 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Sun Jan 26 11:45:55 2025 +0800 branch-3.0: [regression-test](case) fix percentile case #47359 (#47394) Cherry-picked from #47359 Co-authored-by: shuke <sh...@selectdb.com> --- .../test_aggregate_all_functions2.out | Bin 8332 -> 8294 bytes .../test_aggregate_all_functions2.groovy | 5 ++++- 2 files changed, 4 insertions(+), 1 deletion(-) 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 454d1b49353..27f36371b01 100644 Binary files a/regression-test/data/query_p0/sql_functions/aggregate_functions/test_aggregate_all_functions2.out and b/regression-test/data/query_p0/sql_functions/aggregate_functions/test_aggregate_all_functions2.out differ 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 126c2b63f46..615c3bf98b1 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 @@ -66,7 +66,10 @@ suite("test_aggregate_all_functions2") { qt_select_min_by3 """ select min_by(k1,cast(k1 as string)) from baseall; """ 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; """ + test { + sql """ select percentile_approx(k2,10001) from baseall; """ + exception "INVALID_ARGUMENT" + } 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; """ --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org