This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 8825aa7543e [fix](regression test) use double quota for numbers #25365
8825aa7543e is described below
commit 8825aa7543ef22c69377b8fe71a198e46f0823a9
Author: zhiqiang <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]