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
commit f98f790a8060d657b26a3cdd0915096537ab7fc7 Author: morrySnow <101034200+morrys...@users.noreply.github.com> AuthorDate: Tue Jan 16 20:19:16 2024 +0800 [chore](test) update delete complex type case to make Nereids happy (#30022) --- regression-test/suites/delete_p0/test_array_column_delete.groovy | 2 +- regression-test/suites/delete_p0/test_map_column_delete.groovy | 2 +- regression-test/suites/delete_p0/test_struct_column_delete.groovy | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/regression-test/suites/delete_p0/test_array_column_delete.groovy b/regression-test/suites/delete_p0/test_array_column_delete.groovy index 442b4f59957..6dc2d1d982b 100644 --- a/regression-test/suites/delete_p0/test_array_column_delete.groovy +++ b/regression-test/suites/delete_p0/test_array_column_delete.groovy @@ -23,7 +23,7 @@ suite("test_array_column_delete") { sql """ insert into ${tableName} values(1, NULL),(2,[12,3]),(3,[]),(4,NULL),(5,NULL) """ test { sql """ DELETE FROM ${tableName} WHERE c_array is NULL """ - exception("java.sql.SQLException: errCode = 2, detailMessage = errCode = 2, detailMessage = Can not apply delete condition to column type: ARRAY<INT>") + exception("Can not apply delete condition to column type: ARRAY<INT>") } sql """ DELETE FROM ${tableName} WHERE id = 1; """ qt_sql """ SELECT * FROM ${tableName} order by id """ diff --git a/regression-test/suites/delete_p0/test_map_column_delete.groovy b/regression-test/suites/delete_p0/test_map_column_delete.groovy index e82c6885cd5..ce00b77f153 100644 --- a/regression-test/suites/delete_p0/test_map_column_delete.groovy +++ b/regression-test/suites/delete_p0/test_map_column_delete.groovy @@ -24,7 +24,7 @@ suite("test_map_column_delete") { sql """ insert into ${tableName} values(1, {1:'a', 2:"doris"}),(2,{}),(3,NULL),(4,NULL),(5,NULL) """ test { sql """ DELETE FROM ${tableName} WHERE m_map is NULL """ - exception("java.sql.SQLException: errCode = 2, detailMessage = errCode = 2, detailMessage = Can not apply delete condition to column type: MAP<INT,VARCHAR(30)>") + exception("Can not apply delete condition to column type: MAP<INT,VARCHAR(30)>") } sql """ DELETE FROM ${tableName} WHERE id = 1; """ qt_sql """ SELECT * FROM ${tableName} order by id """ diff --git a/regression-test/suites/delete_p0/test_struct_column_delete.groovy b/regression-test/suites/delete_p0/test_struct_column_delete.groovy index 26f24837a53..7b82cda668c 100644 --- a/regression-test/suites/delete_p0/test_struct_column_delete.groovy +++ b/regression-test/suites/delete_p0/test_struct_column_delete.groovy @@ -23,7 +23,7 @@ suite("test_struct_column_delete") { sql """ insert into ${tableName} values(1, {1, 'a'}),(2,NULL),(3,NULL),(4,NULL),(5,NULL) """ test { sql """ DELETE FROM ${tableName} WHERE s_struct is NULL """ - exception("java.sql.SQLException: errCode = 2, detailMessage = errCode = 2, detailMessage = Can not apply delete condition to column type: STRUCT<f1:INT,f2:VARCHAR(30)>") + exception("Can not apply delete condition to column type: STRUCT<f1:INT,f2:VARCHAR(30)>") } sql """ DELETE FROM ${tableName} WHERE id = 1; """ qt_sql """ SELECT * FROM ${tableName} order by id """ --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org