This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 05bddfcdd9e [fix](test)resolve table name conflict in test case
(#41373) (#41423)
05bddfcdd9e is described below
commit 05bddfcdd9ebf993f2c3b6c5cf6d1c48198d52f9
Author: starocean999 <[email protected]>
AuthorDate: Sat Sep 28 08:36:14 2024 +0800
[fix](test)resolve table name conflict in test case (#41373) (#41423)
## Proposed changes
pick from master https://github.com/apache/doris/pull/41373
<!--Describe your changes.-->
---
.../suites/datatype_p0/decimalv3/test_decimalv3_where.groovy | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git
a/regression-test/suites/datatype_p0/decimalv3/test_decimalv3_where.groovy
b/regression-test/suites/datatype_p0/decimalv3/test_decimalv3_where.groovy
index d998b7fddc3..c67fd3d42cc 100644
--- a/regression-test/suites/datatype_p0/decimalv3/test_decimalv3_where.groovy
+++ b/regression-test/suites/datatype_p0/decimalv3/test_decimalv3_where.groovy
@@ -24,21 +24,21 @@ suite("test_decimalv3_where") {
sql """insert into ${tableName} values
(1,'doris',20,324.10),(2,'spark',10,95.5),(3,'flink',9,20)"""
qt_decimalv3 "select * from ${tableName} where dr != 1 order by age;"
- sql """drop table if exists test_sys_update_basic_test_update_decimal_tb"""
- sql """CREATE TABLE test_sys_update_basic_test_update_decimal_tb (
+ sql """drop table if exists test_sys_update_basic_test__decimal_tb"""
+ sql """CREATE TABLE test_sys_update_basic_test__decimal_tb (
k1 DECIMAL(10, 5) NULL,
v1 DECIMAL(10, 5) NULL
) UNIQUE KEY(k1) DISTRIBUTED BY HASH(k1) BUCKETS 5 PROPERTIES (
"replication_allocation" = "tag.location.default: 1"
);"""
- sql """insert into test_sys_update_basic_test_update_decimal_tb values
+ sql """insert into test_sys_update_basic_test__decimal_tb values
(1.001, 2.002), (1.002, 0.00000002), (1.003, 0.100000001),
(1.004, 0.100044001), (1.005, 0.100045001);"""
- qt_select """select * from test_sys_update_basic_test_update_decimal_tb
where k1 = 1.001;"""
+ qt_select """select * from test_sys_update_basic_test__decimal_tb where k1
= 1.001;"""
sql """
- UPDATE test_sys_update_basic_test_update_decimal_tb SET v1=0.0001
WHERE k1 = 1.001;
+ UPDATE test_sys_update_basic_test__decimal_tb SET v1=0.0001 WHERE k1 =
1.001;
"""
qt_select_after_update """
- select * from test_sys_update_basic_test_update_decimal_tb where k1 =
1.001;
+ select * from test_sys_update_basic_test__decimal_tb where k1 = 1.001;
"""
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]