This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new dd00beedc49 branch-4.0: [fix](test) fix wrong error msg (#61091)
dd00beedc49 is described below

commit dd00beedc495c4e8a816a77280e32e14bb42c083
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Wed Mar 25 19:56:46 2026 -0700

    branch-4.0: [fix](test) fix wrong error msg (#61091)
---
 .../external_table_p0/hive/write/test_hive_ctas_to_doris.groovy    | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git 
a/regression-test/suites/external_table_p0/hive/write/test_hive_ctas_to_doris.groovy
 
b/regression-test/suites/external_table_p0/hive/write/test_hive_ctas_to_doris.groovy
index aa61d8a43d0..fd445a490ed 100644
--- 
a/regression-test/suites/external_table_p0/hive/write/test_hive_ctas_to_doris.groovy
+++ 
b/regression-test/suites/external_table_p0/hive/write/test_hive_ctas_to_doris.groovy
@@ -77,14 +77,17 @@ suite("test_hive_ctas_to_doris", 
"p0,external,hive,external_docker,external_dock
                 assertTrue(false)
             } catch (Exception ex) {
                 ex.printStackTrace();
-                assertTrue(ex.getMessage().contains("Partition name's length 
is over limit of 50"))
+                assertTrue(ex.getMessage().contains("the length of input is 
too long than schema")
+                    || ex.getMessage().contains("Partition name's length is 
over limit of 50"))
             }
 
             try {
                 sql """ create table internal.${db_name}.${hive_tb}_5 
(id,str1,str3,str2) auto partition by list (str2)() 
properties("replication_num" = "1") as select id, str1, str2, str3 from 
${catalog}.${db_name}.${hive_tb} """
                 assertTrue(false)
             } catch (Exception ex) {
-                assertTrue(ex.getMessage().contains("Partition name's length 
is over limit of 50"))
+                ex.printStackTrace();
+                assertTrue(ex.getMessage().contains("the length of input is 
too long than schema")
+                    || ex.getMessage().contains("Partition name's length is 
over limit of 50"))
             }
 
             try {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to