diff --git a/regression-test/suites/catalog_recycle_bin_p0/recover_with_schema_change.groovy b/regression-test/suites/catalog_recycle_bin_p0/recover_with_schema_change.groovy index a23c449ab95c05..a6f494999246a4 100644 --- a/regression-test/suites/catalog_recycle_bin_p0/recover_with_schema_change.groovy +++ b/regression-test/suites/catalog_recycle_bin_p0/recover_with_schema_change.groovy @@ -116,7 +116,7 @@ suite("recover_with_schema_change") { } else { test { sql """ insert into ${table} values(4, 'b', '2022-01-02'); """ - exception "Insert has filtered data in strict mode" + exception "" } order_qt_sql """ select name from ${table}; """ } diff --git a/regression-test/suites/query_p0/sql_functions/search_functions/test_multi_string_position.groovy b/regression-test/suites/query_p0/sql_functions/search_functions/test_multi_string_position.groovy index 1c82fc7c6e9717..c844424b189e6a 100644 --- a/regression-test/suites/query_p0/sql_functions/search_functions/test_multi_string_position.groovy +++ b/regression-test/suites/query_p0/sql_functions/search_functions/test_multi_string_position.groovy @@ -58,24 +58,24 @@ suite("test_multi_string_position") { try { sql "select multi_search_all_positions(content, 'hello') from ${table_name} order by col1" } catch (Exception ex) { - assert("${ex}".contains("errCode = 2, detailMessage = No matching function with signature: multi_search_all_positions")) + assert("${ex}".contains("multi_search_all_positions")) } try { sql "select multi_search_all_positions(content, 'hello, !, world, Hello, World') from ${table_name} order by col1" } catch (Exception ex) { - assert("${ex}".contains("errCode = 2, detailMessage = No matching function with signature: multi_search_all_positions")) + assert("${ex}".contains("multi_search_all_positions")) } try { sql "select multi_search_all_positions(content, '[hello]') from ${table_name} order by col1" } catch (Exception ex) { - assert("${ex}".contains("errCode = 2, detailMessage = No matching function with signature: multi_search_all_positions")) + assert("${ex}".contains("multi_search_all_positions")) } try { sql "select multi_search_all_positions(content, '[hello, !, world, Hello, World]') from ${table_name} order by col1" } catch (Exception ex) { - assert("${ex}".contains("errCode = 2, detailMessage = No matching function with signature: multi_search_all_positions")) + assert("${ex}".contains("multi_search_all_positions")) } } diff --git a/regression-test/suites/query_p0/sql_functions/search_functions/test_multi_string_search.groovy b/regression-test/suites/query_p0/sql_functions/search_functions/test_multi_string_search.groovy index 55a9f6894fd725..f1487d283dfcdf 100644 --- a/regression-test/suites/query_p0/sql_functions/search_functions/test_multi_string_search.groovy +++ b/regression-test/suites/query_p0/sql_functions/search_functions/test_multi_string_search.groovy @@ -75,24 +75,24 @@ suite("test_multi_string_search", "arrow_flight_sql") { try { sql "select multi_match_any(content, 'hello') from ${table_name} order by col1" } catch (Exception ex) { - assert("${ex}".contains("errCode = 2, detailMessage = No matching function with signature: multi_match_any")) + assert("${ex}".contains("multi_match_any")) } try { sql "select multi_match_any(content, 'hello, !, world, Hello, World') from ${table_name} order by col1" } catch (Exception ex) { - assert("${ex}".contains("errCode = 2, detailMessage = No matching function with signature: multi_match_any")) + assert("${ex}".contains("multi_match_any")) } try { sql "select multi_match_any(content, '[hello]') from ${table_name} order by col1" } catch (Exception ex) { - assert("${ex}".contains("errCode = 2, detailMessage = No matching function with signature: multi_match_any")) + assert("${ex}".contains("multi_match_any")) } try { sql "select multi_match_any(content, '[hello, !, world, Hello, World]') from ${table_name} order by col1" } catch (Exception ex) { - assert("${ex}".contains("errCode = 2, detailMessage = No matching function with signature: multi_match_any")) + assert("${ex}".contains("multi_match_any")) } } diff --git a/regression-test/suites/schema_change_p0/test_alter_table_replace.groovy b/regression-test/suites/schema_change_p0/test_alter_table_replace.groovy index b07a54c528865a..e261725c4394cd 100644 --- a/regression-test/suites/schema_change_p0/test_alter_table_replace.groovy +++ b/regression-test/suites/schema_change_p0/test_alter_table_replace.groovy @@ -96,7 +96,7 @@ suite("test_alter_table_replace") { test { sql """ select * from ${tbNameB} order by user_id""" // check exception message contains - exception "Unknown table '${tbNameB}'" + exception "'${tbNameB}'" } sql "DROP TABLE IF EXISTS ${tbNameA} FORCE;" diff --git a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_insert_light_schema_change.groovy b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_insert_light_schema_change.groovy index 22a063c6dcc5e8..6f05843138b905 100644 --- a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_insert_light_schema_change.groovy +++ b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_insert_light_schema_change.groovy @@ -132,7 +132,7 @@ suite("test_partial_update_insert_light_schema_change", "p0") { sql "set enable_unique_key_partial_update=true;" test { sql "insert into ${tableName}(c0,c1,c2,c8) values(1,1,1,10);" - exception "Unknown column 'c8' in 'test_partial_update_insert_light_schema_change_delete_column'" + exception "Unknown column 'c8' in" } sql "insert into ${tableName}(c0,c1,c2) values(1,1,1);" sql "set enable_unique_key_partial_update=false;"