This is an automated email from the ASF dual-hosted git repository. kxiao pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/doris.git
commit 2fd905bb884b4b7c5090225bec106b6e45de9065 Author: zhiqiang <seuhezhiqi...@163.com> AuthorDate: Thu Oct 12 06:25:20 2023 -0500 [fix](regression test) use double quota for numbers #25365 --- .../suites/query_p0/sql_functions/math_functions/test_round.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regression-test/suites/query_p0/sql_functions/math_functions/test_round.groovy b/regression-test/suites/query_p0/sql_functions/math_functions/test_round.groovy index 4f20f36c7b0..efdc003fbd4 100644 --- a/regression-test/suites/query_p0/sql_functions/math_functions/test_round.groovy +++ b/regression-test/suites/query_p0/sql_functions/math_functions/test_round.groovy @@ -22,9 +22,9 @@ qt_select "SELECT round_bankers(10.12345, 2)" // test tie case 1: float, banker's rounding - qt_select "SELECT number*10/100 AS x, ROUND(number * 10 / 100) from NUMBERS('number'=50) where number % 5 = 0 ORDER BY x;" + qt_select "SELECT number*10/100 AS x, ROUND(number * 10 / 100) from NUMBERS(\"number\"=\"50\") where number % 5 = 0 ORDER BY x;" // test tie case 2: decimal, rounded up when tie - qt_select "SELECT number*10/100 AS x, ROUND(CAST(number * 10 AS DECIMALV3(10,2)) / 100) from NUMBERS('number'=50) where number % 5 = 0 ORDER BY x;" + qt_select "SELECT number*10/100 AS x, ROUND(CAST(number * 10 AS DECIMALV3(10,2)) / 100) from NUMBERS(\"number\"=\"50\") where number % 5 = 0 ORDER BY x;" def tableTest = "test_query_db.test" qt_truncate "select truncate(k1, 1), truncate(k2, 1), truncate(k3, 1), truncate(k5, 1), truncate(k8, 1), truncate(k9, 1) from ${tableTest} order by 1;" --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org